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

This commit is contained in:
sony-mathew
2020-02-11 22:58:43 +05:30
2 changed files with 4 additions and 4 deletions

View File

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

View File

@@ -18,6 +18,6 @@
# you can override concurrency based on environment # you can override concurrency based on environment
production: production:
:concurrency: 20
staging:
:concurrency: 10 :concurrency: 10
staging:
:concurrency: 5