unistore: fix watch events forever looping (#93517)

This commit is contained in:
Georges Chaudy 2024-09-20 15:51:09 +02:00 committed by GitHub
parent 715ee35abc
commit 216b63549d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -546,7 +546,9 @@ func (b *backend) poller(ctx context.Context, since groupResourceRV, stream chan
t.Reset(interval)
continue
}
since[group][resource] = next
if next > since[group][resource] {
since[group][resource] = next
}
}
}