Allow zero downtime deployment to be turned off for Background Workers
d
danielle
At times, it can be useful to turn off zero downtime deployment for background workers- for example, if it's important for an old deploy to not be running as the new deploy is coming up. It would be nice if this were configurable per service.
Log In
m
me
+1 on this, we deploy some very simple socket servers that rely on in-memory state. They're not designed to run concurrently, which zero downtime deploys force.
K
Kenny Buckler
Additionally, it would be quite useful to be able to execute commands against the existing worker so that it may safely shut down. For example a signal to a worker instructing it to finish its work and prevent it from taking on new jobs. Thinking of implementing https://github.com/mperham/sidekiq/wiki/Deployment here - not sure if this is currently supported.