igrigorik / em-jack

An Evented Beanstalk Client
http://dj2.github.com/jack
Other
64 stars 17 forks source link

move reconnect logic to a proc; fail callbacks on disconnect #2

Closed thebaldwin closed 13 years ago

thebaldwin commented 13 years ago

Need to save the state of the tubes the first time through, and not overwrite with 'default' on any subsequent disconnect calls. This also fails callbacks on disconnect to fix an exception thrown when we receive data back from a use command