diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2019-09-19 07:50:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-19 07:50:08 +0200 |
commit | 3c6887a27a5acafbbcb8d2b42dbb0c02caf1308b (patch) | |
tree | 8912305cc454b70a3beefccf3a8c36ea47f5ed46 /container-core | |
parent | b6f507c1ff4f73ebabacdcf0a434317011dfdafe (diff) |
Revert "Revert "Revert "Revert "Revert "Revert "Balder/no more fs4 dispatching from fastsearcher"""".""
Diffstat (limited to 'container-core')
-rw-r--r-- | container-core/src/main/java/com/yahoo/container/handler/VipStatus.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/container-core/src/main/java/com/yahoo/container/handler/VipStatus.java b/container-core/src/main/java/com/yahoo/container/handler/VipStatus.java index 6f827041ffb..b9ef1627ce7 100644 --- a/container-core/src/main/java/com/yahoo/container/handler/VipStatus.java +++ b/container-core/src/main/java/com/yahoo/container/handler/VipStatus.java @@ -117,7 +117,9 @@ public class VipStatus { /** Returns whether this container should receive traffic at this time */ public boolean isInRotation() { - return currentlyInRotation; + synchronized (mutex) { + return currentlyInRotation; + } } } |