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

redis exiting kills node process #53

Open
DeepaSriramRR opened this issue Jul 16, 2020 · 1 comment
Open

redis exiting kills node process #53

DeepaSriramRR opened this issue Jul 16, 2020 · 1 comment
Assignees

Comments

@DeepaSriramRR
Copy link

When redis graph/redis client shuts down, the node process which has a handle to redisgraph.js crashes. My understanding is, we need to listen to this._client.on('error') event and handle it inside graph.js.
Is there a workaround meanwhile to avoid this crash ?

@gkorland
Copy link
Contributor

gkorland commented Apr 6, 2021

@DeepaSriramRR, you solution is the easiest solution this._client.on('error')

I'm not aware of another workaround. Unless you provide a client instance in the constructor and listen to its .on('error') event.

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

No branches or pull requests

3 participants