mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 10:41:25 +08:00
Revert "Revert "Revert "FIX: Heartbeat check per sidekiq process (#7873)"""
This reverts commit c3497559be71598f1ae06677c0225bb4322e1688.
This commit is contained in:
@ -11,7 +11,6 @@ class Demon::Base
|
||||
|
||||
def self.start(count = 1, verbose: false)
|
||||
@demons ||= {}
|
||||
before_start(count)
|
||||
count.times do |i|
|
||||
(@demons["#{prefix}_#{i}"] ||= new(i, verbose: verbose)).start
|
||||
end
|
||||
@ -38,10 +37,7 @@ class Demon::Base
|
||||
end
|
||||
end
|
||||
|
||||
def self.before_start(count)
|
||||
end
|
||||
|
||||
attr_reader :pid, :parent_pid, :started, :index, :identifier
|
||||
attr_reader :pid, :parent_pid, :started, :index
|
||||
attr_accessor :stop_timeout
|
||||
|
||||
def initialize(index, rails_root: nil, parent_pid: nil, verbose: false)
|
||||
|
Reference in New Issue
Block a user