1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
This commit is contained in:
Abdelkader Boudih 2014-11-14 17:14:00 +00:00
parent e30a19a532
commit bc4ca4b28a
2 changed files with 0 additions and 2 deletions

View file

@ -3,7 +3,6 @@ HEAD
- Fix typo for generator test file name [dlackty, #2016] - Fix typo for generator test file name [dlackty, #2016]
- Add Sidekiq::Middleware::Chain#prepend [seuros, #2029] - Add Sidekiq::Middleware::Chain#prepend [seuros, #2029]
- Debug: Print the used config file
3.2.6 3.2.6
----------- -----------

View file

@ -353,7 +353,6 @@ module Sidekiq
def parse_config(cfile) def parse_config(cfile)
opts = {} opts = {}
if File.exist?(cfile) if File.exist?(cfile)
logger.debug "Using config file: #{cfile}"
opts = YAML.load(ERB.new(IO.read(cfile)).result) || opts opts = YAML.load(ERB.new(IO.read(cfile)).result) || opts
opts = opts.merge(opts.delete(environment) || {}) opts = opts.merge(opts.delete(environment) || {})
parse_queues(opts, opts.delete(:queues) || []) parse_queues(opts, opts.delete(:queues) || [])