Method: OkComputer::ResqueDownCheck#working?

Defined in:
lib/ok_computer/built_in_checks/resque_down_check.rb

#working?Boolean

Public: Whether the Resque has workers working on a job

Returns a Boolean

Returns:



23
24
25
# File 'lib/ok_computer/built_in_checks/resque_down_check.rb', line 23

def working?
  Resque.info.fetch(:working) > 0
end