This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Adjust down the number of Sidekiq threads to 5 (default of 25 is way too high)
closed-social-glitch-2
Eugen Rochko
8 years ago
parent
e24bfbde1a
commit
36f3da3cde
3 changed files
with
4 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
config/database.yml
+1
-1
config/initializers/sidekiq.rb
+2
-0
config/sidekiq.yml
+ 1
- 1
config/database.yml
View File
@ -1,6 +1,6 @@
default
:
&default
adapter
:
postgresql
pool
:
2
5
pool
:
5
timeout
:
5000
encoding
:
unicode
+ 1
- 1
config/initializers/sidekiq.rb
View File
@ -7,5 +7,5 @@ Sidekiq.configure_server do |config|
end
Sidekiq
.
configure_client
do
|
config
|
config
.
redis
=
ConnectionPool
.
new
(
size
:
2
5
,
&
redis_conn
)
config
.
redis
=
ConnectionPool
.
new
(
size
:
5
,
&
redis_conn
)
end
+ 2
- 0
config/sidekiq.yml
View File
@ -0,0 +1,2 @@
---
:concurrency
:
5
Write
Preview
Loading…
Cancel
Save