Unverified Commit 4d891f23 authored by ucwong's avatar ucwong Committed by GitHub

les: add missing Ticker.Stop call (#20864)

parent 66ed58bf
......@@ -269,6 +269,7 @@ func (ct *costTracker) gfLoop() {
log.Debug("global cost factor saved", "value", factor)
}
saveTicker := time.NewTicker(time.Minute * 10)
defer saveTicker.Stop()
for {
select {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment