From 79bf264762d1a4792037d8761776f5e43f6c8b17 Mon Sep 17 00:00:00 2001 From: Torben Sorensen Date: Tue, 2 Dec 2025 19:59:02 -0800 Subject: [PATCH] move to centralized --- src/services/db/connection.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/services/db/connection.ts b/src/services/db/connection.ts index d37e21a6..a679486d 100644 --- a/src/services/db/connection.ts +++ b/src/services/db/connection.ts @@ -60,10 +60,10 @@ const createPool = (): Pool => { export const getPool = (): Pool => { // This function acts as a singleton accessor for the database pool. if (!poolInstance) { - console.log('[DB POOL] Creating NEW pool instance.'); + //console.log('[DB POOL] Creating NEW pool instance.'); poolInstance = createPool(); - } else { - console.log(`[DB POOL] Returning EXISTING pool instance. ID: ${poolInstance.poolId}`); + //} else { + //console.log(`[DB POOL] Returning EXISTING pool instance. ID: ${poolInstance.poolId}`); } return poolInstance; };