coopernurse/node-pool — Issue #31: Is there any hooks for .on('error') to remove a driver from the pool?
Author: mcavage
Created: 2012-02-02 19:30:34+00:00
State: open

Hi,

Great module - I didn't see it from briefly scanning your code: it's pretty common that with various drivers (especially stateful/long-lived ones), I'd want to have the pool auto-purge a client that emits an error event, so it can recreate another one to replace it. Is there a way to do that?

Thanks!
~Mark