Method: OkComputer::ResqueDownCheck#check
- Defined in:
- lib/ok_computer/built_in_checks/resque_down_check.rb
#check ⇒ Object
Public: Check whether Resque workers are working
4 5 6 7 8 9 10 11 |
# File 'lib/ok_computer/built_in_checks/resque_down_check.rb', line 4 def check if queued? and not working? mark_failure "Resque is DOWN. No workers are working the queue." else "Resque is working" end end |