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