Skip to content

Commit

Permalink
Increase connection limit for orm
Browse files Browse the repository at this point in the history
  • Loading branch information
Navaneeth-pk committed Sep 19, 2021
1 parent 6dd30b6 commit b464ec5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion server/ormconfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ function buildConnectionOptions(
username: data.PG_USER,
password: data.PG_PASS,
host: data.PG_HOST,
connectTimeoutMS: 5000
connectTimeoutMS: 5000,
extra: {
connectionLimit: 15
}
}

const entitiesDir =
Expand Down

0 comments on commit b464ec5

Please sign in to comment.