Skip to content

Commit

Permalink
Bug fix on pool creation
Browse files Browse the repository at this point in the history
  • Loading branch information
0kl-usds committed Jan 5, 2024
1 parent 58a4c59 commit 5600e31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/src/database/sessionDb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { dbURI, env } from '../config';
// We had to change this out for the conn string in postgres 15+
// https://node-postgres.com/features/ssl

function CreatePool(){
new Pool({
function CreatePool(){
return new Pool({
connectionString: dbURI,
max:20,
idleTimeoutMillis:60000,
Expand Down

0 comments on commit 5600e31

Please sign in to comment.