@adonisjs/redis - Support multiple subscriptions to one Redis channel #4640
Closed
jonahsnider
started this conversation in
Ideas
Replies: 2 comments 3 replies
-
@jonahsnider Yup, I purposely did not add support for it, waiting to see if it is a common use-case and worth supporting or not. Can you please open an issue with the |
Beta Was this translation helpful? Give feedback.
3 replies
-
Discussion moved to adonisjs/redis#65 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In @adonisjs/redis, trying to do
redis.subscribe()
when the specified channel already has an active subscription will throw an error.It would be nice if instead of throwing, @adonisjs/redis was able to intelligently group duplicate subscriptions together.
@adonisjs/redis is described as "The package is a thin wrapper on top of ioredis with better DX around Pub/Sub and automatic management of multiple redis connections", so this feature seems very inline with the package's goals.
Beta Was this translation helpful? Give feedback.
All reactions