Open 189 opened 2 years ago
Works fine for me if the pool create function returns something other than null, like an empty object. See here. The implementation compares unique instances internally, and null
is not a unique instance when calling release
, which is which is why you are seeing this error.
I make 20 request after create connection pool with 10 max connection, but always got “Resource not currently part of this pool”。Here is my all code:
"generic-pool": "^3.8.2"
Here is online demo