Implement "quite" mode when sidekiq is shutting down. While web server is in "quite" mode, it will return healthy status by default because alive key is not updated during this period
Add a configurable timeout for quite mode so server is not stuck as healthy indefinitely if sidekiq process fails to shut down
@arturictus This is a follow up with some further improvements. I tested it out in my own k8s deployment and everything seems to be working as expected 🎉
This PR implements suggestion from https://github.com/arturictus/sidekiq_alive/issues/85 to gracefully handle extended sidekiq shutdowns. Additional improvements and fixes are added as well.
sidekiq-alive
capsule connections during the shutdown. Related to: https://github.com/arturictus/sidekiq_alive/issues/100Closes #85, #100, #105