Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent permanent waits from destroyed workers
Prevent permanent waits, by ensuring that we continue creating resources if we need them * There are many errors due to pools being configured with min: 0 but then running out of workers while there is still work to do * This results in missed work, infinite loops and timeouts * A solution is to ensure that if we still have work todo that we make sure we still have some workers to do them See: * brianc/node-pg-pool#48 * loopbackio/loopback-connector-postgresql#231 * #175 (Seems related)
- Loading branch information