Skip to content

Commit

Permalink
lower reorgCh cap
Browse files Browse the repository at this point in the history
  • Loading branch information
omerfirmak committed Sep 3, 2024
1 parent bec2ffe commit aebc426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miner/scroll_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ func newWorker(config *Config, chainConfig *params.ChainConfig, engine consensus
chainHeadCh: make(chan core.ChainHeadEvent, chainHeadChanSize),
exitCh: make(chan struct{}),
startCh: make(chan struct{}, 1),
reorgCh: make(chan reorgTrigger, 2*(config.CCCMaxWorkers+1)),
reorgCh: make(chan reorgTrigger, 1),
}
worker.asyncChecker = ccc.NewAsyncChecker(worker.chain, config.CCCMaxWorkers, false).WithOnFailingBlock(worker.onBlockFailingCCC)

Expand Down

0 comments on commit aebc426

Please sign in to comment.