Merge branch 'hotfix/1.1.3' into develop - Bug Fix : Increased the connection pool size and concurrency for Sidekiq

This commit is contained in:
sony-mathew 2020-02-11 21:52:37 +05:30
commit baf1a6e8da
2 changed files with 7 additions and 7 deletions

View file

@ -4,9 +4,9 @@ sidekiq_redis_config = {
}
Sidekiq.configure_client do |config|
config.redis = sidekiq_redis_config.merge(size: 5)
config.redis = sidekiq_redis_config.merge(size: 15)
end
Sidekiq.configure_server do |config|
config.redis = sidekiq_redis_config.merge(size: 10)
config.redis = sidekiq_redis_config.merge(size: 15)
end

View file

@ -4,7 +4,7 @@
# pick it up automatically.
---
:verbose: false
:concurrency: 3
:concurrency: 5
:timeout: 25
# Sidekiq will run this file through ERB when reading it so you can
@ -18,6 +18,6 @@
# you can override concurrency based on environment
production:
:concurrency: 10
:concurrency: 20
staging:
:concurrency: 5
:concurrency: 10