We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Knex version: 2.3.0 Database + version: Postgres 14
When setting acquireTimeoutMillis > 60_000 (60s) the timeout still occurs after only 60s has elapsed.
acquireTimeoutMillis
There is currently a workaround by setting acquireConnectionTimeout as well.
acquireConnectionTimeout
TimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
let db = knex({ pool: { min: 1, max:1, acquireTimeoutMillis: 1_200_000, } }); // with workaround let db = knex({ acquireConnectionTimeout: 1_200_000, pool: { min: 1, max:1, acquireTimeoutMillis: 1_200_000, } });
Created PR here #5377
The text was updated successfully, but these errors were encountered:
@MattGson Can you close this issue as your PR has already been merged?
Sorry, something went wrong.
closed by #5377
No branches or pull requests
Environment
Knex version: 2.3.0
Database + version: Postgres 14
Bug
When setting
acquireTimeoutMillis
> 60_000 (60s) the timeout still occurs after only 60s has elapsed.There is currently a workaround by setting
acquireConnectionTimeout
as well.Created PR here #5377
The text was updated successfully, but these errors were encountered: