diff --git a/common/task/periodic.go b/common/task/periodic.go index 23f559c1a..a646300f8 100644 --- a/common/task/periodic.go +++ b/common/task/periodic.go @@ -54,6 +54,7 @@ func (t *Periodic) checkedExecute() error { func (t *Periodic) Start() error { t.access.Lock() if t.running { + t.access.Unlock() return nil } t.running = true