Bug Fix : Adjusted the connection pool size and concurrency for Sidekiq

This commit is contained in:
sony-mathew 2020-02-11 22:27:03 +05:30
parent 1e955455f0
commit 6645d7f80b
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