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
+3 -1
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
}
}
}