chore: fix marking monitor waited once
This commit is contained in:
parent
454395eb0e
commit
173f4e5bc2
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue