Make the number of sidekiq threads configurable, bump to 25

This commit is contained in:
Greg Karékinian
2018-08-16 17:37:10 +02:00
parent d20c0cf7f6
commit e6a3460a2c
3 changed files with 9 additions and 7 deletions

View File

@@ -10,7 +10,7 @@ WorkingDirectory=<%= @app_dir %>
Environment="RAILS_ENV=production"
Environment="DB_POOL=50"
Environment="LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1"
ExecStart=<%= @bundle_path %> exec sidekiq -c 5 -q default -q mailers -q pull -q push
ExecStart=<%= @bundle_path %> exec sidekiq -c <%= @sidekiq_threads %> -q default -q mailers -q pull -q push
TimeoutSec=15
Restart=always