1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-11-24 15:16:26 +09:00

Adjust down the number of Sidekiq threads to 5 (default of 25 is way too high)

This commit is contained in:
Eugen Rochko 2016-03-25 14:20:31 +01:00
parent e24bfbde1a
commit 36f3da3cde
3 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
default: &default
adapter: postgresql
pool: 25
pool: 5
timeout: 5000
encoding: unicode

View File

@ -7,5 +7,5 @@ Sidekiq.configure_server do |config|
end
Sidekiq.configure_client do |config|
config.redis = ConnectionPool.new(size: 25, &redis_conn)
config.redis = ConnectionPool.new(size: 5, &redis_conn)
end

2
config/sidekiq.yml Normal file
View File

@ -0,0 +1,2 @@
---
:concurrency: 5