Skip to content
New issue

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

TimeoutError #3362

Closed
markgzl opened this issue Jul 19, 2019 · 2 comments
Closed

TimeoutError #3362

markgzl opened this issue Jul 19, 2019 · 2 comments

Comments

@markgzl
Copy link

markgzl commented Jul 19, 2019

Environment

Knex version: 0.15.2
Database + version: 5.7.22
OS:

Select applicable template from below.
image
I'm getting lots of errors like TimeoutError:

Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
@ricardograca
Copy link
Member

It means you're exhausting the connection pool. Could be caused by a number of different reasons, and it's impossible to diagnose without analyzing your code. In any case it's almost certainly not Knex's fault.

If you are sure it could be a bug please provide the minimal test code for reproduction according to the instructions here.

As it says in the issue template that you used to create this issue:

GitHub issues are for knex development. Please send questions how to use knex to Stack Overflow or ask about it in gitter chat.

@elhigu
Copy link
Member

elhigu commented Jul 19, 2019

Also never set propagateCreateError to false. Knex will not work correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants