collectiveidea / delayed_job

Database based asynchronous priority queue system -- Extracted from Shopify
http://groups.google.com/group/delayed_job
MIT License
4.81k stars 955 forks source link

DelayedJob kube containers not able to handle SIGQUITs and terminate abruptly #1178

Open kiransajeev opened 1 year ago

kiransajeev commented 1 year ago

We need mechanism for delayed_job to respond to SIGQUIT the same way it currently responds to SIGTERM due to disagreements between the rails and nginx about which should be triggering graceful shutdowns.

As of now delayed job containers terminate abruptly on SIGQUIT leaving jobs in a half done state.