module AttentiveSidekiq

Constants

DEFAULTS
REDIS_DISAPPEARED_KEY
REDIS_SUSPICIOUS_KEY
VERSION

Attributes

execution_interval[W]
logger[W]
timeout_interval[W]

Public Class Methods

execution_interval() click to toggle source
# File lib/attentive_sidekiq.rb, line 30
def execution_interval
  return @execution_interval if @execution_interval
  @execution_interval = options[:execution_interval] || DEFAULTS[:execution_interval]
end
logger() click to toggle source
# File lib/attentive_sidekiq.rb, line 35
def logger
  @logger ||= Sidekiq.logger
end
options() click to toggle source
# File lib/attentive_sidekiq.rb, line 39
def options
  Sidekiq.options["attentive"] || {}
end
timeout_interval() click to toggle source
# File lib/attentive_sidekiq.rb, line 25
def timeout_interval
  return @execution_timeout if @execution_timeout
  @timeout_interval = options[:timeout_interval] || DEFAULTS[:timeout_interval]
end