squbs icon indicating copy to clipboard operation
squbs copied to clipboard

Ensure Akka shutdown hook is not interfering with squbs shutdown hooks

Open akara opened this issue 7 years ago • 0 comments

When working inside IDEs and shutting down the squbs service, both squbs and the ActorSystem install shutdown hooks at the JVM. This causes the ActorSystem to terminate before squbs can cleanly shut it down. Need to give squbs the exclusive shutdown rights by setting the following parameter in application templates, especially for development environments:

akka.jvm-shutdown-hooks = off

akara avatar Apr 08 '18 00:04 akara