From aa071d7035b9c9b874326bb7c7ea5c20d57307d0 Mon Sep 17 00:00:00 2001 From: Jon Marius Venstad Date: Thu, 1 Oct 2020 20:36:23 +0200 Subject: Cancel correct shutdown thread --- .../java/com/yahoo/document/restapi/DocumentOperationExecutorImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vespaclient-container-plugin') diff --git a/vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/DocumentOperationExecutorImpl.java b/vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/DocumentOperationExecutorImpl.java index 08628671fd7..ad01295b4e6 100644 --- a/vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/DocumentOperationExecutorImpl.java +++ b/vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/DocumentOperationExecutorImpl.java @@ -160,7 +160,7 @@ public class DocumentOperationExecutorImpl implements DocumentOperationExecutor } catch (InterruptedException | ExecutionException | TimeoutException e) { throttleShutdown.cancel(true); - throttleShutdown.cancel(true); + timeoutShutdown.cancel(true); log.log(WARNING, "Exception shutting down " + getClass().getName(), e); } } -- cgit v1.2.3