class

Kiq::Launcher

Inherits Reference < Object

Constants

HEARTBEAT_INTERVAL = 5
HEARTBEAT_TTL = 60

Constructors

new(config : Config, queues : Array(String) | Nil = nil, concurrency : Int32 | Nil = nil, strict : Bool | Nil = nil)
Source

Instance methods

beat
Source
cleanup_dead_processes
Source
clear_heartbeat
Source
config
Source
flush_stats
Source
identity
Source
info_payload
Source
poller
Source
process_signals

The Web UI pushes TSTP/TERM to <identity>-signals (1:1 with sidekiq's Process#quiet!/stop!).

Source
processors
Source
quiet
Source
register_process
Source
stop

Shut down, waiting for processors to exit (they leave BRPOP within one 2s timeout), then flush stats and clear the heartbeat.

Source
stopping?
Source
write_heartbeat
Source