title: What happens Sidekiq jobs that are running when the worker node is restarted?
body: <p>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.</p>
  
  <p>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?</p>