sidekiq

Quiet vs Stop in Sidekiq


What's the difference between stoping workers vs 'quiet' them. In the web GUI I see both options but not sure what are the differences.

Also, whenever I stop all workers, do they stop gracefully meaning they are put on queue again or not?

Thanks.


Solution

    1. Quiet means don't fetch new jobs from Redis anymore. Current jobs will continue to process indefinitely.
    2. Stop means quiet immediately + force any jobs still processing after the -t timeout (default: 25 seconds) to stop and push those unfinished jobs back to Redis.