unistore: fix watch events forever looping (#93517)

This commit is contained in:
Georges Chaudy authored and GitHub committed 2024-09-20 15:51:09 +02:00
1 parent 715ee35abc
commit 216b63549d
1 file changed
+3 -1
+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
}
}
}