Skip to content

Commit

Permalink
refactor(server/db): support additional connections and extend timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
thelindat committed Jul 8, 2024
1 parent 26da903 commit 92dab58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/db/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ export function GetConfig(): PoolConfig {

return {
connectTimeout: 60000,
connectionLimit: 5,
acquireTimeout: 30000,
...options,
namedPlaceholders: false,
connectionLimit: true,
multipleStatements: true,
dateStrings: true,
insertIdAsNumber: true,
Expand Down

0 comments on commit 92dab58

Please sign in to comment.