mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Config file should be optional for easy cap deploys, fixes #715
This commit is contained in:
parent
82abcb02d9
commit
f333186ecf
1 changed files with 2 additions and 1 deletions
|
@ -317,7 +317,8 @@ module Sidekiq
|
|||
opts = opts.merge(opts.delete(environment) || {})
|
||||
parse_queues(opts, opts.delete(:queues) || [])
|
||||
else
|
||||
raise ArgumentError, "can't find config file #{cfile}"
|
||||
# allow a non-existent config file so Sidekiq
|
||||
# can be deployed by cap with just the defaults.
|
||||
end
|
||||
opts
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue