You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node: 14.x <-- pretty sure this is the problem / difference
Knex version: 0.21.0 (also seen in older version)
Database + version: Postgres 12
OS: Observed on macOS and Linux
Bug
Initially, all knex connections/queries failed (timed out). I was able to fix regular connections by upgrading knex to 0.21.0 and node-pg to version 8.x. However, running migrations using knex migrate:latest or npx knex migrate:latest is still failing.
Error message
TimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at /<omitted>/node_modules/knex/lib/client.js:318:17
markdoliner-doma, iamacup, FarizInk, simonppg, danielrearden and 21 more