Skip to content

Commit

Permalink
Increase timeout value to ensure migration success
Browse files Browse the repository at this point in the history
  • Loading branch information
toresbe committed Jun 19, 2023
1 parent 533007a commit e4463cd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cli/src/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@ const config = require("../../knexfile")
export const db = knex({
...config,
pool: { max: 64 },
acquireConnectionTimeout: 240000,
acquireConnectionTimeout: 24000000,
})

export const testDBConnection = () => db.raw("select 1+1 as result")

0 comments on commit e4463cd

Please sign in to comment.