chore: Fix connection pool (#6005)
We want to allocate as much database connection to the pool to match the sidekiq concurrency configuration. ref: https://maxencemalbois.medium.com/the-ruby-on-rails-database-connections-pool-4ce1099a9e9f fixes: #6004
This commit is contained in:
@@ -7,7 +7,7 @@ Type=simple
|
||||
User=chatwoot
|
||||
WorkingDirectory=/home/chatwoot/chatwoot
|
||||
|
||||
ExecStart=/bin/bash -lc 'bundle exec sidekiq -C config/sidekiq.yml'
|
||||
ExecStart=/bin/bash -lc 'dotenv bundle exec sidekiq -C config/sidekiq.yml'
|
||||
|
||||
Restart=always
|
||||
RestartSec=1
|
||||
|
||||
Reference in New Issue
Block a user