[erlang-questions] poolboy new_worker failed cause poolboy crashed

linbo liao llbgurs@REDACTED
Tue Apr 14 10:26:06 CEST 2015


I open an issue for poolboy (https://github.com/devinus/poolboy/issues/72),
but looks author doesn't think this is an issue.

Looks like to solve this issue have two ways:

1. Modify eredis client,  start_link still return ok when connect failed,
and when use it should check eredis socket alive or not

2. Modify poolboy library, protected all logic when call new_worker failed.

But it require change ereids or poolboy code, I was wondering to know
anyone hit this issue, how to resolve it?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150414/53508952/attachment.htm>

More information about the erlang-questions mailing list