diff --git a/util/monitor.go b/util/monitor.go index ef1f16fa0..acb97d16c 100644 --- a/util/monitor.go +++ b/util/monitor.go @@ -86,7 +86,7 @@ func (m *Monitor[T]) GetFunc(get func(T)) error { // mark as waited once m.mu.Lock() // TODO fix and test - m.updated.Add(time.Nanosecond) + m.updated = m.updated.Add(time.Nanosecond) m.mu.Unlock() select {