Skip to content

Commit

Permalink
Merge branch 'develop' into ci-docker-image
Browse files Browse the repository at this point in the history
  • Loading branch information
owen-reorg authored Oct 8, 2023
2 parents 843fa83 + ab2a507 commit 43aac0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion op-node/p2p/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ func NewSyncClient(log log.Logger, cfg *rollup.Config, newStream newStreamFn, rc
// never errors with positive LRU cache size
// TODO(CLI-3733): if we had an LRU based on on total payloads size, instead of payload count,
// we can safely buffer more data in the happy case.
q, _ := simplelru.NewLRU[common.Hash, syncResult](100, c.onQuarantineEvict)
q, _ := simplelru.NewLRU[common.Hash, syncResult](3600, c.onQuarantineEvict)
c.quarantine = q
trusted, _ := simplelru.NewLRU[common.Hash, struct{}](10000, nil)
c.trusted = trusted
Expand Down

0 comments on commit 43aac0a

Please sign in to comment.