feat(highlighting): added resolved vars highlighting to code subblock, to be consistent with other subblocks (#1570)

This commit is contained in:
Waleed
2025-10-07 17:17:39 -07:00
committed by GitHub
parent 8200e9a88f
commit 715f42c1a6
2 changed files with 91 additions and 7 deletions

View File

@@ -10,6 +10,23 @@ if (!connectionString) {
throw new Error('Missing DATABASE_URL environment variable')
}
console.log(
'[DB Pool Init]',
JSON.stringify({
timestamp: new Date().toISOString(),
nodeEnv: process.env.NODE_ENV,
action: 'CREATING_CONNECTION_POOL',
poolConfig: {
max: 30,
idle_timeout: 20,
connect_timeout: 30,
prepare: false,
},
pid: process.pid,
isProduction: process.env.NODE_ENV === 'production',
})
)
const postgresClient = postgres(connectionString, {
prepare: false,
idle_timeout: 20,