jkehres / memcached-elasticache

A memcached client with support for auto-discovery of AWS ElastiCache nodes
9 stars 6 forks source link

end() method does not close connections #4

Open viamuli opened 5 years ago

viamuli commented 5 years ago

Tested with NodeJs 8.x and 10.x in AWS Lambda and local Ubuntu. It appears the end() method does not close connections at all - it still is possible to get/set without any problem which leads to unexpected behaviour such as lambda functions timing out while everything has been processed successfully and the final callback has been called.

cosmic-chichu commented 5 years ago

https://github.com/jkehres/memcached-elasticache/issues/2 This is why it is not closed, fix this typo and it should work as expected.