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:
Sojan Jose
2023-01-16 17:50:23 +05:30
committed by GitHub
parent 70cb0a8ed9
commit 72f206025a
9 changed files with 17 additions and 10 deletions

View File

@@ -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