• Delweng's avatar
    node: increase batch limits for auth rpc API (#27924) · 386cba15
    Delweng authored
    This raises the JSON-RPC batch request limits significantly for the engine API endpoint.
    The limits are now also hard-coded, so users won't get them wrong. I have chosen these limits:
    
        maximum batch items: 2000
        maximum batch response size: 250MB
    
    While it would also be possible to disable batch limits completely for the engine API, 
    I think having some limits is a good safety net against misbehaving CLs. Since this
     isn't configurable, we really want to ensure this limit will never become an issue in the
     CL/EL communication, so I set them quite high.
    
    ---------
    Signed-off-by: 's avatarjsvisa <delweng@gmail.com>
    Co-authored-by: 's avatarFelix Lange <fjl@twurst.com>
    386cba15
Name
Last commit
Last update
..
api.go Loading commit data...
api_test.go Loading commit data...
config.go Loading commit data...
config_test.go Loading commit data...
defaults.go Loading commit data...
doc.go Loading commit data...
endpoints.go Loading commit data...
errors.go Loading commit data...
jwt_auth.go Loading commit data...
jwt_handler.go Loading commit data...
lifecycle.go Loading commit data...
node.go Loading commit data...
node_auth_test.go Loading commit data...
node_example_test.go Loading commit data...
node_test.go Loading commit data...
rpcstack.go Loading commit data...
rpcstack_test.go Loading commit data...
utils_test.go Loading commit data...