Skip to content

Turning on pingInterval on a pubsub channel results in an error #2372

Closed
@mdouglass

Description

@mdouglass

If you turn on pingInterval on a client using pubsub features, the client errors out and returns Error: Cannot send commands in PubSub mode. This is incorrect because PING is one of the allowed commands on a PUBSUB channel.

Environment:

  • Node.js Version: v18.12.0
  • Redis Server Version: 6.2.7
  • Node Redis Version: 4.5.1
  • Platform: macOS 13.0.1 (22A400)

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