Set the number of ActiveRecord DB pools to 50 in the Sidekiq service
This commit is contained in:
@@ -8,7 +8,7 @@ Type=simple
|
||||
User=<%= @user %>
|
||||
WorkingDirectory=<%= @app_dir %>
|
||||
Environment="RAILS_ENV=production"
|
||||
Environment="DB_POOL=5"
|
||||
Environment="DB_POOL=50"
|
||||
ExecStart=<%= @bundle_path %> exec sidekiq -c 5 -q default -q mailers -q pull -q push
|
||||
TimeoutSec=15
|
||||
Restart=always
|
||||
|
||||
Reference in New Issue
Block a user