trie, les: add missing calls to Ticker.Stop (#23415)
This commit is contained in:
@ -62,6 +62,7 @@ func (p *pruner) loop() {
|
||||
|
||||
// cleanTicker is the ticker used to trigger a history clean 2 times a day.
|
||||
var cleanTicker = time.NewTicker(12 * time.Hour)
|
||||
defer cleanTicker.Stop()
|
||||
|
||||
// pruning finds the sections that have been processed by all indexers
|
||||
// and deletes all historical chain data.
|
||||
|
Reference in New Issue
Block a user