Skip to content

send_command("monitoring") is doomed to fail #512

Closed
@bpytlik

Description

@bpytlik

On line 360 of index.js the code says

this.send_command("monitor")

In the send_command function, examine line 735 and line 756. If args is not an array, we throw the error on line 756. Since only the string "monitor" was passed on line 360, we're guaranteed to hit this error.

I think this is preventing me from monitoring more than one redis instance in the same process space, even though I'm using different clients. Regardless of whether I'm doing something else dumb (definitely possible), the code as written can't work I think.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions