diff options
Diffstat (limited to 'db/db.ts')
| -rw-r--r-- | db/db.ts | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,7 +4,8 @@ import * as schema from './schema'; const pool = new Pool({ // connectionString: process.env.DATABASE_URL as string, - connectionString: "postgresql://dts:dujinDTS2@localhost:5432/evcp" + connectionString: "postgresql://dts:dujinDTS2@localhost:5432/evcp", + max: Number(process.env.DB_POOL_MAX) || 4, }); const db = drizzle(pool, { schema }); |
