You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
please make the signal handling configurable per signal.
i'd like the handling of shutdown on SIGINT and SIGTERM, instead of a hard exit to make sure no data is lost.
Since i plan to scale my workers through docker scaling, the workers within the containers will receive a SIGTERM on downscaling, on which i'd like to wait for the job to finish before closing the worker.
Activity
merlindorin commentedon Jan 8, 2018
Seems a lot of work, if you want to make a PR, I will appreciate to make a review :D ;)
made signals configurable by event callback
Make signals configurable by event callback (#85)