summaryrefslogtreecommitdiffstats
path: root/vespaclient-container-plugin
diff options
context:
space:
mode:
authorJon Marius Venstad <venstad@gmail.com>2020-10-01 20:36:23 +0200
committerJon Marius Venstad <venstad@gmail.com>2020-10-01 20:36:23 +0200
commitaa071d7035b9c9b874326bb7c7ea5c20d57307d0 (patch)
treecef19fbb9865807de10aff0c15883611d396d475 /vespaclient-container-plugin
parent6cbe3529b4fabd24632c0c670dc4097907f3b6d8 (diff)
Cancel correct shutdown thread
Diffstat (limited to 'vespaclient-container-plugin')
-rw-r--r--vespaclient-container-plugin/src/main/java/com/yahoo/document/restapi/DocumentOperationExecutorImpl.java2
1 files changed, 1 insertions, 1 deletions
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);
}
}