mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-27 10:51:40 -05:00
Merge pull request #1776 from alphagov/worker-connection-pool
Set db connection pool size to 1 for all workers
This commit is contained in:
@@ -43,6 +43,7 @@ env:
|
||||
|
||||
TEMPLATE_PREVIEW_API_HOST: null
|
||||
TEMPLATE_PREVIEW_API_KEY: null
|
||||
SQLALCHEMY_POOL_SIZE: 1
|
||||
|
||||
applications:
|
||||
- name: notify-delivery-celery-beat
|
||||
@@ -66,7 +67,6 @@ applications:
|
||||
command: scripts/run_multi_worker_app_paas.sh celery multi start 3 -c 10 -A run_celery.notify_celery --loglevel=INFO -Q send-sms-tasks,send-email-tasks
|
||||
memory: 2G
|
||||
env:
|
||||
SQLALCHEMY_POOL_SIZE: 1
|
||||
NOTIFY_APP_NAME: delivery-worker-sender
|
||||
|
||||
- name: notify-delivery-worker-periodic
|
||||
|
||||
Reference in New Issue
Block a user