Skip to content

Commit

Permalink
txpool:housekeeping interval to 1s
Browse files Browse the repository at this point in the history
  • Loading branch information
libotony committed Mar 30, 2020
1 parent 18d1dc9 commit 5fa7838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion txpool/tx_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func (p *TxPool) housekeeping() {
log.Debug("enter housekeeping")
defer log.Debug("leave housekeeping")

ticker := time.NewTicker(time.Second * 2)
ticker := time.NewTicker(time.Second * 1)
defer ticker.Stop()

headBlock := p.repo.BestBlock().Header()
Expand Down

0 comments on commit 5fa7838

Please sign in to comment.