From a13cc5bb8af6362e22a5ce806e65703f8e1ce1aa Mon Sep 17 00:00:00 2001 From: enxtur Date: Sun, 5 May 2024 18:37:53 +0800 Subject: [PATCH] Add batchLimit for db config --- config/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/config/index.ts b/config/index.ts index 7e53e078..7a750419 100644 --- a/config/index.ts +++ b/config/index.ts @@ -23,6 +23,7 @@ export const CONFIG = { name: process.env.NODE_ENV, authBaseUrl: process.env.AUTHBASE_URL, db: { + batchLimit: 32_768, // 2^15, connection: process.env.POSTGRES_SERVER, logging: !!parseInt(process.env.POSTGRES_LOGGING ?? ''), poolMin: 2,