From b5d60a066036d113e0e4cb939f6de1d6da3a512f Mon Sep 17 00:00:00 2001 From: Hubert Plociniczak Date: Fri, 27 Sep 2024 20:54:22 +0200 Subject: [PATCH] Eliminate Akka's shutdown hook (#11202) Seeing ``` [WARN] [akka.actor.CoordinatedShutdown] Could not addJvmShutdownHook, due to: Shutdown in progress ``` in the logs. We are already shutting down resources, including ActorSystem, so no need for Akka to schedule its shutdown. --- engine/language-server/src/main/resources/application.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/language-server/src/main/resources/application.conf b/engine/language-server/src/main/resources/application.conf index d92df8cddc..69c5a82c6e 100644 --- a/engine/language-server/src/main/resources/application.conf +++ b/engine/language-server/src/main/resources/application.conf @@ -23,6 +23,7 @@ akka { } log-dead-letters = 1 log-dead-letters-during-shutdown = off + jvm-shutdown-hooks = off library-extensions = ["akka.stream.SystemMaterializer$"] use-slf4j = on }