Skip to content

redis exiting kills node process #53

Open
@DeepaSriramRR

Description

@DeepaSriramRR

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 ?

Activity

gkorland

gkorland commented on Apr 6, 2021

@gkorland
Contributor

@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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @gkorland@leibale@DeepaSriramRR

      Issue actions

        redis exiting kills node process · Issue #53 · RedisGraph/redisgraph.js