From 69641a93ccc6357714781a915aa49262d25fbdab Mon Sep 17 00:00:00 2001 From: Dan Garland Date: Tue, 5 Sep 2023 16:01:18 +0100 Subject: [PATCH] feat(dal): Setting min pool size to 200 in production mode --- apps/api/src/.env.production | 2 ++ apps/webhook/src/.env.production | 1 + apps/worker/src/.env.production | 1 + apps/ws/src/.env.production | 1 + 4 files changed, 5 insertions(+) diff --git a/apps/api/src/.env.production b/apps/api/src/.env.production index a52b412d515a..a048998f9d4e 100644 --- a/apps/api/src/.env.production +++ b/apps/api/src/.env.production @@ -43,6 +43,8 @@ MAIL_SERVER_DOMAIN= MAX_NOVU_INTEGRATION_MAIL_REQUESTS=300 NOVU_EMAIL_INTEGRATION_API_KEY= +MONGO_MIN_POOL_SIZE=200 + MAX_NOVU_INTEGRATION_SMS_REQUESTS=20 NOVU_SMS_INTEGRATION_ACCOUNT_SID= NOVU_SMS_INTEGRATION_TOKEN= diff --git a/apps/webhook/src/.env.production b/apps/webhook/src/.env.production index 2ad7f28e514d..1bc9c47bb440 100644 --- a/apps/webhook/src/.env.production +++ b/apps/webhook/src/.env.production @@ -7,3 +7,4 @@ WIDGET_BASE_URL=https://widget.novu.co NEW_RELIC_ENABLED=true NEW_RELIC_APPLICATION_LOGGING_FORWARDING_ENABLED=true LOGGING_LEVEL=info +MONGO_MIN_POOL_SIZE=200 diff --git a/apps/worker/src/.env.production b/apps/worker/src/.env.production index 9d238b9613e6..9b9d242afed0 100644 --- a/apps/worker/src/.env.production +++ b/apps/worker/src/.env.production @@ -47,6 +47,7 @@ REDIS_CLUSTER_KEY_PREFIX= # MongoDB # MONGO_URL= +MONGO_MIN_POOL_SIZE=200 # Storage # S3_LOCAL_STACK=http://localhost:4566 diff --git a/apps/ws/src/.env.production b/apps/ws/src/.env.production index 2dc12ea39e8c..f46a730cd8cd 100644 --- a/apps/ws/src/.env.production +++ b/apps/ws/src/.env.production @@ -11,3 +11,4 @@ WS_CONTEXT_PATH= NEW_RELIC_ENABLED=true NEW_RELIC_APPLICATION_LOGGING_FORWARDING_ENABLED=true LOGGING_LEVEL=info +MONGO_MIN_POOL_SIZE=200