Method: PerfectQueue::Multiprocess::ThreadProcessor#keepalive
- Defined in:
- lib/perfectqueue/multiprocess/thread_processor.rb
#keepalive ⇒ Object
51 52 53 54 55 |
# File 'lib/perfectqueue/multiprocess/thread_processor.rb', line 51 def keepalive unless @thread @thread = Thread.new(&method(:run)) end end |