RemoteMetering / geteventstore-promise

An EventStore http+tcp wrapper package
MIT License
31 stars 17 forks source link

Closed connection not removed from pool #102

Closed matchish closed 3 years ago

matchish commented 3 years ago

https://github.com/RemoteMetering/geteventstore-promise/blob/2858f4072057205add807faf1a74705645af3855/lib/tcpClient/connectionManager.js#L33 After a connection is closed we still have it in a pool. Should be removed from pool also

mmuller99 commented 3 years ago

Hi @matchish, on close of connection, the connection will now be attempted to be removed from the pool.