Skip to content

Commit

Permalink
fix: set MaxConcurrency config to fallback client
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoieh committed Apr 26, 2024
1 parent 99c7c57 commit b1fe334
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions op-node/node/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ func fallbackClientWrap(ctx context.Context, logger log.Logger, urlList []string
})
rpcCfg := sources.L1ClientDefaultConfig(rollupCfg, cfg.L1TrustRPC, cfg.L1RPCKind)
rpcCfg.MaxRequestsPerBatch = cfg.BatchSize
rpcCfg.MaxConcurrentRequests = cfg.MaxConcurrency
return l1Node, rpcCfg, nil
}

Expand Down

0 comments on commit b1fe334

Please sign in to comment.