6325acd183
* update db:schema due to migration * reduce default concurrency for redis connection limit * Allow auto update packages in the development mode without building image * add sidekiq support to docker-compose * Pass sidekiq cofig file * passed the env file in base image rather than separately in rails, web packer and sidekiq in docker-compose * removed un-necessary changes in schema * changed concurrency to finer values * removed default size set in sidekiq redis config * Added the sidekiq config option in Procfile.dev Co-authored-by: Sony Mathew <ynos1234@gmail.com>
23 lines
621 B
YAML
23 lines
621 B
YAML
# Sample configuration file for Sidekiq.
|
|
# Options here can still be overridden by cmd line args.
|
|
# Place this file at config/sidekiq.yml and Sidekiq will
|
|
# pick it up automatically.
|
|
---
|
|
:verbose: false
|
|
:concurrency: 3
|
|
:timeout: 25
|
|
|
|
# Sidekiq will run this file through ERB when reading it so you can
|
|
# even put in dynamic logic, like a host-specific queue.
|
|
# http://www.mikeperham.com/2013/11/13/advanced-sidekiq-host-specific-queues/
|
|
:queues:
|
|
- [critical, 5]
|
|
- [default, 2]
|
|
- [low, 1]
|
|
- [mailers, 2]
|
|
|
|
# you can override concurrency based on environment
|
|
production:
|
|
:concurrency: 10
|
|
staging:
|
|
:concurrency: 5
|