pool2
pool2 copied to clipboard
Not sure what's causing it and haven't had time to completely reproduce it, but the pool seems to be randomly being `destroyed` after a `connect ETIMEDOUT` - only seeing this...
Spawned by the discussion here: https://github.com/tgriesser/knex/issues/802 Use case: prepared statements are connection-specific; the capabilities function could be used to request connections from the pool which have a given prepared statement...
Hi all, Occasionally we are facing this error: ``` : /app/node_modules/newrelic/lib/transaction/tracer/index.js:169 : throw err : TypeError: this._ping is not a function : ^ : at Pool._maybeAllocateResource (/app/node_modules/pool2/lib/pool.js:404:18) : at Immediate.wrapped...
Just had an idea to help eliminate double-release errors as well as make it easier for consumers of resource pools to deal with out-of-band error cases (inspired by https://github.com/tgriesser/knex/pull/973). Simply...