Created
October 13, 2016 15:47
-
-
Save anonymous/9da56f09c95c5362adbbfc85451b1a1e to your computer and use it in GitHub Desktop.
the description for this gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cluster(system).registerOnMemberRemoved { | |
system.registerOnTermination(System.exit(-1)) | |
system.scheduler.scheduleOnce(10.seconds)(System.exit(-1))(system.dispatcher) | |
system.shutdown() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment