Skip to content

Commit 60dba38

Browse files
committed
remove console log
1 parent 443921a commit 60dba38

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

packages/db/index.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,6 @@ if (!connectionString) {
1010
throw new Error('Missing DATABASE_URL environment variable')
1111
}
1212

13-
console.log(
14-
'[DB Pool Init]',
15-
JSON.stringify({
16-
timestamp: new Date().toISOString(),
17-
nodeEnv: process.env.NODE_ENV,
18-
action: 'CREATING_CONNECTION_POOL',
19-
poolConfig: {
20-
max: 30,
21-
idle_timeout: 20,
22-
connect_timeout: 30,
23-
prepare: false,
24-
},
25-
pid: process.pid,
26-
isProduction: process.env.NODE_ENV === 'production',
27-
})
28-
)
29-
3013
const postgresClient = postgres(connectionString, {
3114
prepare: false,
3215
idle_timeout: 20,

0 commit comments

Comments
 (0)