1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/test/string_config.yml
Darryl Pogue 280c7f7782 Symbolize all config.yml keys when loading
This ensures that keys in the Yaml file can be specified as either
symbols or strings, but will always be treated as symbols after loading.

It tries to use ActiveSupport's `deep_symbolize_keys!` method if
ActiveSupport is loaded, otherwise falling back to an inline version.

Closes #3672.
2017-12-02 13:37:32 -08:00

10 lines
200 B
YAML

---
verbose: false
require: ./test/fake_env.rb
pidfile: /tmp/sidekiq-config-test.pid
logfile: /tmp/sidekiq.log
concurrency: 50
queues:
- [<%="very_"%>often, 2]
- [seldom, 1]