sequelize / sequelize-pool

Resource pool implementation. It can be used to throttle expensive resources.
Other
38 stars 17 forks source link

fix: respect min pool configuration #23

Closed SergeyCherman closed 2 years ago

SergeyCherman commented 4 years ago

Attempts to fix https://github.com/sequelize/sequelize-pool/issues/22 by acquiring up to the min connections.

I suspect I need to add handlers to make sure it doesn't dispose of the min connections, but not sure. Also unsure if this is the right way to resolve the issue. Wanted to get the conversation started via the PR.