mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: heartbeat should be per host
We need to schedule heartbeat on the correct host, otherwise some queues may end up starving.
This commit is contained in:
parent
3e855e33ae
commit
17bed44405
@ -4,6 +4,7 @@ module Jobs
|
||||
|
||||
# used to ensure at least 1 sidekiq is running correctly
|
||||
class Heartbeat < Jobs::Scheduled
|
||||
per_host
|
||||
every 3.minute
|
||||
|
||||
def execute(args)
|
||||
|
Loading…
Reference in New Issue
Block a user