From 27411b5dc5fa85ba259948b205397097042febe7 Mon Sep 17 00:00:00 2001 From: Jon Bratseth Date: Thu, 19 Sep 2019 09:30:51 +0200 Subject: Deployment instances spec WIP --- .../src/main/java/com/yahoo/container/handler/VipStatusHandler.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'container-core') diff --git a/container-core/src/main/java/com/yahoo/container/handler/VipStatusHandler.java b/container-core/src/main/java/com/yahoo/container/handler/VipStatusHandler.java index a37255436ca..eceffb379aa 100644 --- a/container-core/src/main/java/com/yahoo/container/handler/VipStatusHandler.java +++ b/container-core/src/main/java/com/yahoo/container/handler/VipStatusHandler.java @@ -31,16 +31,12 @@ import com.yahoo.vespa.defaults.Defaults; */ public final class VipStatusHandler extends ThreadedHttpRequestHandler { - private static final Logger log = Logger.getLogger(VipStatusHandler.class.getName()); - private static final String NUM_REQUESTS_METRIC = "jdisc.http.requests.status"; private final boolean accessDisk; private final File statusFile; private final VipStatus vipStatus; - private volatile boolean previouslyInRotation = true; - // belongs in the response, but that's not a static class static final String OK_MESSAGE = "OK\n"; static final byte[] VIP_OK = Utf8.toBytes(OK_MESSAGE); @@ -162,6 +158,7 @@ public final class VipStatusHandler extends ThreadedHttpRequestHandler { * out of capacity. This is the default behavior. */ @Inject + @SuppressWarnings("unused") // injected public VipStatusHandler(VipStatusConfig vipConfig, Metric metric, VipStatus vipStatus) { // One thread should be enough for status handling - otherwise something else is completely wrong, // in which case this will eventually start returning a 503 (due to work rejection) as the bounded -- cgit v1.2.3