Module: Contrast::Utils::JobServersRunning

Includes:
Components::Interface
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

Methods included from Components::Interface

included

Class Method Details

.job_servers_running?Boolean

Returns:

  • (Boolean)


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

def job_servers_running?
  sidekiq_running? || rake_running?
end