instance method
start
Ruby on Rails 1.1.5
Since v1.0.2 Last seen in v1.4.0Signature
start(launcher)
No documentation comment.
Parameters
-
launcherreq
Source
# File lib/puma/plugin/solid_queue.rb, line 6
def start(launcher)
@log_writer = launcher.log_writer
@puma_pid = $$
in_background do
monitor_solid_queue
end
launcher.events.on_booted do
@solid_queue_pid = fork do
Thread.new { monitor_puma }
SolidQueue::Supervisor.start
end
end
launcher.events.on_stopped { stop_solid_queue }
launcher.events.on_restart { stop_solid_queue }
end
Defined in lib/puma/plugin/solid_queue.rb line 6
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Object