Bug Fix : Adjusted the connection pool size and concurrency for Sidekiq
This commit is contained in:
parent
1e955455f0
commit
6645d7f80b
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue