mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-27 02:54:19 +00:00
Adjust down the number of Sidekiq threads to 5 (default of 25 is way too high)
This commit is contained in:
parent
e24bfbde1a
commit
36f3da3cde
|
@ -1,6 +1,6 @@
|
||||||
default: &default
|
default: &default
|
||||||
adapter: postgresql
|
adapter: postgresql
|
||||||
pool: 25
|
pool: 5
|
||||||
timeout: 5000
|
timeout: 5000
|
||||||
encoding: unicode
|
encoding: unicode
|
||||||
|
|
||||||
|
|
|
@ -7,5 +7,5 @@ Sidekiq.configure_server do |config|
|
||||||
end
|
end
|
||||||
|
|
||||||
Sidekiq.configure_client do |config|
|
Sidekiq.configure_client do |config|
|
||||||
config.redis = ConnectionPool.new(size: 25, &redis_conn)
|
config.redis = ConnectionPool.new(size: 5, &redis_conn)
|
||||||
end
|
end
|
||||||
|
|
2
config/sidekiq.yml
Normal file
2
config/sidekiq.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
---
|
||||||
|
:concurrency: 5
|
Loading…
Reference in a new issue