Method: Elected::Scheduler::Poller#stop
- Defined in:
- lib/elected/scheduler/poller.rb
#stop ⇒ Object
51 52 53 54 55 56 57 58 59 60 61 |
# File 'lib/elected/scheduler/poller.rb', line 51 def stop return false unless running? debug "#{label} stopping poller ..." @status = :stopping stop_polling_loop senado.release @status = :stopped debug "#{label} stopped poller!" @status end |