You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@quiet - Time.now will always be smaller than quiet_timeout, so, if the sidekiq process is in quiet mode manually or the process does not die, the health check will continue return 200.
@quiet - Time.now
will always be smaller thanquiet_timeout
, so, if the sidekiq process is in quiet mode manually or the process does not die, the health check will continue return200
.sidekiq_alive/lib/sidekiq_alive/server/rack.rb
Lines 53 to 55 in a531833
validation should be like this:
With that, you will have 3 scenarios:
quiet_timeout
, returns code200
with messageServer is shutting down
quiet_timeout
andalive?
istrue
, returns code200
with messageAlive!
quiet_timeout
andalive?
isfalse
, returns code404
with messageCan't find the alive key
To test, use the quiet button of sidekiq web.
what do you think?
The text was updated successfully, but these errors were encountered: