wooga / eredis

Erlang Redis client
MIT License
628 stars 278 forks source link

deadloop in reconnect_loop #133

Closed zmstone closed 2 years ago

zmstone commented 2 years ago

https://github.com/wooga/eredis/blob/6845ed50e13f456ecd115bcf9de666a58a1529dc/src/eredis_client.erl#L402-L418 This loop function should return when Client is dead, otherwise running at risk of leaking.

zmstone commented 2 years ago

nvm, did not notice the caller has been changed from spawn to spawn_link