From f8178c2307538be323420f93a61a7e1d4a9339bd Mon Sep 17 00:00:00 2001 From: Kenneth Endfinger Date: Thu, 23 Dec 2021 02:55:51 -0500 Subject: [PATCH] DevUpdateServer: Change HTTP server stop delay to one second. --- .../cloud/kubelet/foundation/core/devupdate/DevUpdateServer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foundation-core/src/main/kotlin/cloud/kubelet/foundation/core/devupdate/DevUpdateServer.kt b/foundation-core/src/main/kotlin/cloud/kubelet/foundation/core/devupdate/DevUpdateServer.kt index 8424927..4869bd1 100644 --- a/foundation-core/src/main/kotlin/cloud/kubelet/foundation/core/devupdate/DevUpdateServer.kt +++ b/foundation-core/src/main/kotlin/cloud/kubelet/foundation/core/devupdate/DevUpdateServer.kt @@ -104,7 +104,7 @@ class DevUpdateServer(val plugin: FoundationCorePlugin) { } fun disable() { - server?.stop(0) + server?.stop(1) } private fun HttpExchange.respond(code: Int, content: String) {