Merge branch 'hotfix/1.1.3' Bugfix : Increased sidekiq connection pool and concurrency
This commit is contained in:
commit
1e955455f0
2 changed files with 7 additions and 7 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: 5)
|
config.redis = sidekiq_redis_config.merge(size: 15)
|
||||||
end
|
end
|
||||||
|
|
||||||
Sidekiq.configure_server do |config|
|
Sidekiq.configure_server do |config|
|
||||||
config.redis = sidekiq_redis_config.merge(size: 10)
|
config.redis = sidekiq_redis_config.merge(size: 15)
|
||||||
end
|
end
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# pick it up automatically.
|
# pick it up automatically.
|
||||||
---
|
---
|
||||||
:verbose: false
|
:verbose: false
|
||||||
:concurrency: 3
|
:concurrency: 5
|
||||||
:timeout: 25
|
:timeout: 25
|
||||||
|
|
||||||
# Sidekiq will run this file through ERB when reading it so you can
|
# Sidekiq will run this file through ERB when reading it so you can
|
||||||
|
@ -18,6 +18,6 @@
|
||||||
|
|
||||||
# you can override concurrency based on environment
|
# you can override concurrency based on environment
|
||||||
production:
|
production:
|
||||||
:concurrency: 10
|
:concurrency: 20
|
||||||
staging:
|
staging:
|
||||||
:concurrency: 5
|
:concurrency: 10
|
||||||
|
|
Loading…
Reference in a new issue