If some error/exceptions occurs in borrow() -> createConnection(), variable $connectionCount is incremented but no connection exist (can't be returned to pool), next borrow connection is trying to pop connection from channel but there is no connection ...
I would suggest same fix as in this forked lib, can create MR: eltaline@e5f8b2d
Q: Assume from code, there is no way init (or create connection) again when is closed ?!
If some error/exceptions occurs in borrow() -> createConnection(), variable
$connectionCountis incremented but no connection exist (can't be returned to pool), next borrow connection is trying to pop connection from channel but there is no connection ...I would suggest same fix as in this forked lib, can create MR: eltaline@e5f8b2d
Q: Assume from code, there is no way init (or create connection) again when is closed ?!