mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Revert c5d9d3e746
This commit is contained in:
parent
e30a19a532
commit
bc4ca4b28a
2 changed files with 0 additions and 2 deletions
|
@ -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
|
||||||
-----------
|
-----------
|
||||||
|
|
|
@ -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) || [])
|
||||||
|
|
Loading…
Add table
Reference in a new issue