good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 4d891f23 authored by ucwong's avatar ucwong Committed by GitHub
Browse files

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

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