diff options
author | Håkon Hallingstad <hakon@oath.com> | 2018-01-11 23:53:58 +0100 |
---|---|---|
committer | Håkon Hallingstad <hakon@oath.com> | 2018-01-11 23:53:58 +0100 |
commit | c52d2f2fa249f6063e60648f1426f1cb7cd2593b (patch) | |
tree | 25fc52707aea7d235821a38777a88cc28775f6a5 | |
parent | bd891f6ff6e029dca4083ca9205df8f36bda09ed (diff) |
Shut down HTTP client refresh executor service on deconstruct
-rw-r--r-- | node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/util/ConfigServerHttpRequestExecutor.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/util/ConfigServerHttpRequestExecutor.java b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/util/ConfigServerHttpRequestExecutor.java index 7b7de0e7417..c5144f17e9b 100644 --- a/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/util/ConfigServerHttpRequestExecutor.java +++ b/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/util/ConfigServerHttpRequestExecutor.java @@ -214,6 +214,7 @@ public class ConfigServerHttpRequestExecutor implements AutoCloseable { @Override public void close() { + clientRefresherScheduler.shutdown(); do { try { clientRefresherScheduler.awaitTermination(Long.MAX_VALUE, TimeUnit.NANOSECONDS); |