Comments (8)
Using a yield self.client.pubsub_punsubscribe('sample:*')
seems to be a workaround, if you use a prefix for everything, but according to redis docs running unsubscribe should unsubscribe from everything
from tornadis.
you are right => let's fix it
from tornadis.
I suppose you can use yield self.client.pubsub_punsubscribe('*') as a real workaround
from tornadis.
thanks
from tornadis.
Thanks for fixing this, it's more straightforward error now, curious to know why this is an error instead of unsubscribing all like the redis docs.
from tornadis.
I don't understand your comment.
see b171af9 new test
you can use pubsub_punsubscribe and pubsub_unsubscribe without args (as redis docs said)
but
pubsub_psubscribe and pubsub_subscribe will raise a ClientException if there is no args (as redis docs)
from tornadis.
just merged this in tornado42 branch (BTW)
from tornadis.
Oh it was just a misunderstanding. I now see you fixed those other errors as well.
Sent from my iPhone
On 4 Aug 2015, at 11:45 pm, Fabien MARTY [email protected] wrote:
I don't understand your comment.
see b171af9 new test
you can use pubsub_punsubscribe and pubsub_unsubscribe without args (as redis docs said)
but
pubsub_psubscribe and pubsub_subscribe will raise a ClientException if there is no args (as redis docs)
—
Reply to this email directly or view it on GitHub.
from tornadis.
Related Issues (20)
- provides a way to auto(re)subscribe after an auto(re)connect in the PubSub client HOT 1
- better readthedocs output
- Best way of dealing with connection timeout issues HOT 2
- add "db" parameter to tornadis.Client() and tornadis.ClientPool() HOT 1
- Tight pinning of Tornado
- python3.5 await support code HOT 1
- it seems much lower than sync redis HOT 2
- Mocking tornadis during unittests HOT 2
- Cluster support? HOT 2
- 0.7.1 release with pool fix HOT 4
- When to support sentinel ? HOT 1
- got exception: ERR unknown command 'HINCRBYFLOAT' HOT 1
- support for db selection at client or pool level
- tornadis can't connect in tests HOT 2
- Best way forward with regards to native coroutines HOT 3
- Remove ioloop from PeriodicCallback HOT 2
- why can't connect redis db ??? HOT 2
- `add_sockets`: advanced multi-process don't support?
- How to set expiry time for keys? HOT 4
- Tornado 6 not supported by current version (0.8.1) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tornadis.