Skip to content

Won't self.pubsub.subscribe in RedisManager._listen() raise exception? #1115

Answered by miguelgrinberg
griiid asked this question in Q&A
Discussion options

You must be logged in to vote

Looking at this I think I agree that it is possible for the listening thread to die. But you should see a stack trace in your log if that was the case.

But yes, this thread needs a handler to catch all exceptions and prevents the thread from dying. I will improve this.

Replies: 3 comments 14 replies

Comment options

You must be logged in to vote
3 replies
@griiid
Comment options

@dongzeli95
Comment options

@griiid
Comment options

Answer selected by griiid
Comment options

You must be logged in to vote
3 replies
@miguelgrinberg
Comment options

@dongzeli95
Comment options

@dongzeli95
Comment options

Comment options

You must be logged in to vote
8 replies
@miguelgrinberg
Comment options

@dongzeli95
Comment options

@miguelgrinberg
Comment options

@dongzeli95
Comment options

@miguelgrinberg
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants