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

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

Closed
mdouglass opened this issue Jan 9, 2023 · 1 comment
Closed

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

mdouglass opened this issue Jan 9, 2023 · 1 comment
Labels

Comments

@mdouglass
Copy link

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)
@leibale
Copy link
Contributor

leibale commented Jan 9, 2023

Duplicate of #2345
See this comment

@leibale leibale closed this as completed Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants