mirror of
https://github.com/p-stream/backend.git
synced 2026-03-11 17:55:35 +00:00
Update prisma.ts
This commit is contained in:
parent
ed08f2daab
commit
fbaf4eeaa2
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ import { PrismaClient } from '../../generated/client';
|
|||
|
||||
const pool = new Pool({
|
||||
connectionString: process.env.DATABASE_URL,
|
||||
max: parseInt(process.env.DB_POOL_MAX || '100000', 10),
|
||||
max: parseInt(process.env.DB_POOL_MAX || '1000', 10),
|
||||
connectionTimeoutMillis: 10000,
|
||||
idleTimeoutMillis: 300000,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue