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

Question: any way to set timeout for redis_db.pubsub? #64

Closed
mark-mishyn opened this issue Mar 17, 2018 · 1 comment
Closed

Question: any way to set timeout for redis_db.pubsub? #64

mark-mishyn opened this issue Mar 17, 2018 · 1 comment

Comments

@mark-mishyn
Copy link

Hello. I'm new with Walrus and Redis and I don't know how can I set timeout for Publisher/Subscriber.
My current rough solution is monkey patching for redis.Connection.init and set self.socket_timeout there. But, obviously, I don't like this solution.

Thanks in advance and let me know if I have to move this question to SO or so.

@mark-mishyn mark-mishyn changed the title Question: proper way to set timeout for redis_db.pubsub? Question: any way to set timeout for redis_db.pubsub? Mar 17, 2018
@coleifer
Copy link
Owner

I don't believe the Redis pub/sub commands support any kind of timeout:

https://redis.io/commands/subscribe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants