Module: HerokuResqueAutoScale::Config
Constant Summary collapse
- CONFIG_FILE_NAME =
'scaler_config.yml'
Instance Method Summary collapse
Instance Method Details
#environments ⇒ Object
17 18 19 |
# File 'lib/heroku-resque-workers-scaler/config.rb', line 17 def environments @environments ||= config['environments'] end |
#mode ⇒ Object
9 10 11 |
# File 'lib/heroku-resque-workers-scaler/config.rb', line 9 def mode @mode ||= config['mode'] end |
#thresholds ⇒ Object
13 14 15 |
# File 'lib/heroku-resque-workers-scaler/config.rb', line 13 def thresholds @thresholds ||= config['thresholds'] end |
#worker_name ⇒ Object
21 22 23 |
# File 'lib/heroku-resque-workers-scaler/config.rb', line 21 def worker_name @worker_name ||= config['worker_name'] end |