You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sorry for my late reply, I did not have time to look into your feature request.
Can you describe the use case you have in mind a little further? Do you want to have one timeout for the entire pubSub call, to avoid blocking forever when no client publishes? Or would you like to assign individual timeouts to different channels/patterns?
I think for the former I have a relatively simple solution, but the latter wouldn't be so easy. In my opinion the whole PubSub feature of Redis is a bit messy, semantically speaking. I am absolutely open for API suggestions here, to provide nicer semantics than vanilla Redis.
Is it possible to add a timeout in
subscribe
andpsubscribe
? It would be very convenient for short-lived channels.The text was updated successfully, but these errors were encountered: