From b600d2481020a4682a896a7ed757078948875b16 Mon Sep 17 00:00:00 2001 From: yamashush <38120991+yamashush@users.noreply.github.com> Date: Tue, 26 Sep 2023 08:38:32 +0900 Subject: [PATCH] decrease max connection --- deployments/production/app.yaml | 2 +- deployments/staging/app.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deployments/production/app.yaml b/deployments/production/app.yaml index 22262fa79..6458a868b 100644 --- a/deployments/production/app.yaml +++ b/deployments/production/app.yaml @@ -44,4 +44,4 @@ env_variables: NODE_ENV: sm://smarthr-corporate/codimd_production_node_env PGSSLMODE: sm://smarthr-corporate/codimd_production_pgsslmode NODE_OPTIONS: --max-old-space-size=2000 - DB_MAX_CONNECTION: 800 + DB_MAX_CONNECTION: 700 diff --git a/deployments/staging/app.yaml b/deployments/staging/app.yaml index 3c74709f9..e7fb0265d 100644 --- a/deployments/staging/app.yaml +++ b/deployments/staging/app.yaml @@ -44,4 +44,4 @@ env_variables: NODE_ENV: sm://smarthr-corporate/codimd_staging_node_env PGSSLMODE: sm://smarthr-corporate/codimd_staging_pgsslmode CMD_LOGLEVEL: sm://smarthr-corporate/codimd_staging_cmd_loglevel - DB_MAX_CONNECTION: 800 + DB_MAX_CONNECTION: 700