increase body download timeout (#3217)

This commit is contained in:
Alex Sharov 2022-01-11 14:41:18 +07:00 committed by GitHub
parent c0523482a8
commit f0f33f1519
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -348,7 +348,7 @@ func New(stack *node.Node, config *ethconfig.Config, logger log.Logger) (*Ethere
if err != nil {
return nil, err
}
config.BodyDownloadTimeoutSeconds = 30
config.BodyDownloadTimeoutSeconds = 60
var txPoolRPC txpool_proto.TxpoolServer
var miningRPC txpool_proto.MiningServer

View File

@ -87,7 +87,7 @@ var Defaults = Config{
GPO: FullNodeGPO,
RPCTxFeeCap: 1, // 1 ether
BodyDownloadTimeoutSeconds: 30,
BodyDownloadTimeoutSeconds: 60,
}
func init() {