-
Notifications
You must be signed in to change notification settings - Fork 365
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented SIGTERM handler. Without it docker used to wait and then
kill application with SIGKILL. Another advantage of handling SIGTERM - it's possible to remove themself from cluster through api call: DELETE /v2/members/<my_id>. This way cluster wont have any problems with member which is not accessible.
- Loading branch information
Alexander Kukushkin
committed
Apr 29, 2015
1 parent
3f20bc3
commit 2510134
Showing
1 changed file
with
27 additions
and
4 deletions.
There are no files selected for viewing
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