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.
This commit is contained in:
Hubert Plociniczak 2024-09-27 20:54:22 +02:00 committed by GitHub
parent 28bbc34257
commit b5d60a0660
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
}