Skip to content

Commit

Permalink
set sync2cache frequency from 200s to 400ms, to pass the unit cases
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhang2023 committed Nov 25, 2024
1 parent afabfd5 commit 7893787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/txpool/legacypool/legacypool.go
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ func (pool *LegacyPool) Init(gasTip uint64, head *types.Header, reserve txpool.A
}

func (pool *LegacyPool) loopOfSync() {
ticker := time.NewTicker(200 * time.Second)
ticker := time.NewTicker(400 * time.Millisecond)
for {
select {
case <-pool.reorgShutdownCh:
Expand Down

0 comments on commit 7893787

Please sign in to comment.