Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] client does not handle disconnects #5

Closed
wzrdtales opened this issue May 30, 2018 · 0 comments · Fixed by #15
Closed

[feature] client does not handle disconnects #5

wzrdtales opened this issue May 30, 2018 · 0 comments · Fixed by #15

Comments

@wzrdtales
Copy link

Moving from wrong repo burstable/node-beanstalkd-client#6

Description

This client currently does not handle disconnects, be it just a network error or the complete node fails.

Expectation

Either throw on connection failure or reconnect.

Current behaviour

it breaks completely, every subsequent request just throws errors that it can't connect to the server even though it is running again. Only restarting the application helps.

so once i make a call and no server is available it first throws errors and after that it wont stop throwing on subsequent request. If I however do not make a request while the server is down and it is back available again before the next, for some strange reasons everything works.

We talk by the way about spawning, the handler just silently dies and does nothing anymore forever.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant