Git Product home page Git Product logo

Comments (8)

jammed343 avatar jammed343 commented on June 14, 2024

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.

thefab avatar thefab commented on June 14, 2024

you are right => let's fix it

from tornadis.

thefab avatar thefab commented on June 14, 2024

I suppose you can use yield self.client.pubsub_punsubscribe('*') as a real workaround

from tornadis.

thefab avatar thefab commented on June 14, 2024

thanks

from tornadis.

jammed343 avatar jammed343 commented on June 14, 2024

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.

thefab avatar thefab commented on June 14, 2024

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.

thefab avatar thefab commented on June 14, 2024

just merged this in tornado42 branch (BTW)

from tornadis.

jammed343 avatar jammed343 commented on June 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.