Module: Contrast::Utils::JobServersRunning

Defined in:
lib/contrast/utils/job_servers_running.rb

Overview

A module that detects whether any job servers attached to the application are running

Class Method Summary collapse

Class Method Details

.job_servers_running?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/contrast/utils/job_servers_running.rb', line 12

def job_servers_running?
  sidekiq_running? || rake_running?
end