Skip to content

Instantly share code, notes, and snippets.

/post.scala

Created Oct 13, 2016
Embed
What would you like to do?
the description for this gist
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