Class: Sidetiq::Supervisor
- Inherits:
-
Celluloid::Supervision::Container
- Object
- Celluloid::Supervision::Container
- Sidetiq::Supervisor
- Extended by:
- Logging
- Defined in:
- lib/sidetiq/supervisor.rb
Class Method Summary collapse
Class Method Details
.clock ⇒ Object
20 21 22 23 |
# File 'lib/sidetiq/supervisor.rb', line 20 def clock run! if Celluloid::Actor[:sidetiq_clock].nil? Celluloid::Actor[:sidetiq_clock] end |
.handler ⇒ Object
25 26 27 28 |
# File 'lib/sidetiq/supervisor.rb', line 25 def handler run! if Celluloid::Actor[:sidetiq_handler].nil? Celluloid::Actor[:sidetiq_handler] end |
.run ⇒ Object
36 37 38 |
# File 'lib/sidetiq/supervisor.rb', line 36 def run raise "Sidetiq::Supervisor should not be run in foreground." end |
.run! ⇒ Object
30 31 32 33 34 |
# File 'lib/sidetiq/supervisor.rb', line 30 def run! motd info "Sidetiq::Supervisor start" super end |