Class: Shoryuken::Launcher
- Inherits:
-
Object
- Object
- Shoryuken::Launcher
- Includes:
- Util
- Defined in:
- lib/shoryuken/launcher.rb
Instance Method Summary collapse
-
#initialize ⇒ Launcher
constructor
A new instance of Launcher.
- #run ⇒ Object
- #stop(options = {}) ⇒ Object
Methods included from Util
#elapsed, #fire_event, #logger, #unparse_queues, #worker_name
Constructor Details
Instance Method Details
#run ⇒ Object
15 16 17 |
# File 'lib/shoryuken/launcher.rb', line 15 def run @manager.start end |
#stop(options = {}) ⇒ Object
10 11 12 13 |
# File 'lib/shoryuken/launcher.rb', line 10 def stop( = {}) @manager.stop(shutdown: ![:shutdown].nil?, timeout: Shoryuken.[:timeout]) end |