Class: StatusPage::Services::Sidekiq::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/status-page/services/sidekiq.rb

Constant Summary collapse

DEFAULT_LATENCY_TIMEOUT =
30

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



13
14
15
# File 'lib/status-page/services/sidekiq.rb', line 13

def initialize
  @latency = DEFAULT_LATENCY_TIMEOUT
end

Instance Attribute Details

#latencyObject

Returns the value of attribute latency.



11
12
13
# File 'lib/status-page/services/sidekiq.rb', line 11

def latency
  @latency
end