• Joshua Gutow's avatar
    op-node: Set RPC timeouts · 56789460
    Joshua Gutow authored
    This is done in BaseClient because all RPC calls in the op-node
    flow through the base client. I have set it to 10s for the
    CallContext and 20s for the BatchCallContext. These values
    are large enough to handle complex computation, but will prevent
    a slow loris or throttling attack. Smaller timeouts can stil be
    set further up the chain.
    56789460
Name
Last commit
Last update
..
chaincfg Loading commit data...
client Loading commit data...
cmd Loading commit data...
eth Loading commit data...
flags Loading commit data...
heartbeat Loading commit data...
metrics Loading commit data...
node Loading commit data...
p2p Loading commit data...
rollup Loading commit data...
sources Loading commit data...
testlog Loading commit data...
testutils Loading commit data...
version Loading commit data...
withdrawals Loading commit data...
.gitignore Loading commit data...
Dockerfile Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
docker.go.work Loading commit data...
go.mod Loading commit data...
go.sum Loading commit data...
service.go Loading commit data...