We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05d2bfc commit f127e26Copy full SHA for f127e26
cache/src/main/java/io/envoyproxy/controlplane/cache/SimpleCache.java
@@ -196,7 +196,7 @@ public Collection<T> groups() {
196
* {@inheritDoc}
197
*/
198
@Override
199
- public void setSnapshot(T group, Snapshot snapshot) {
+ public synchronized void setSnapshot(T group, Snapshot snapshot) {
200
// we take a writeLock to prevent watches from being created while we update the snapshot
201
CacheStatusInfo<T> status;
202
writeLock.lock();
0 commit comments