We use Asgard to do our deploys to a Rails 4 application using Sidekiq. We are wondering what happens to jobs that are in the queue when the deploy is ongoing and terminates the worker nodes.
What is the shutdown process for Sidekiq? Does it re-enqueue the jobs that won't get finished or will I lose the state of the running jobs?