Login sequence and inventory/protocol storage groundwork
This commit is contained in:
9
server/src/db/pool.ts
Normal file
9
server/src/db/pool.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { Pool } from 'pg';
|
||||
|
||||
export const pool = new Pool({
|
||||
connectionString: process.env.DATABASE_URL ||
|
||||
'postgresql://labwise:labwise_dev_pw@localhost:5432/labwise_db',
|
||||
max: 10,
|
||||
idleTimeoutMillis: 30000,
|
||||
connectionTimeoutMillis: 2000,
|
||||
});
|
||||
Reference in New Issue
Block a user