-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
fix an error which is introduced by pr7040. #7215
Conversation
fix an error which is introduced by pr7040. Nothing to subscribe so should not assign to _pubsub , then drain_events just sleep. The error introduced by pr7040 : `RuntimeError: pubsub connection not set: did you forget to call subscribe() or psubscribe()?`
if nothing to subscribe, don't call redis conn
This pull request introduces 3 alerts when merging 8c2e5a3 into 0620eb2 - view on LGTM.com new alerts:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you please fix the test failures?
This pull request fixes 2 alerts when merging 71a2e4a into 9377e94 - view on LGTM.com fixed alerts:
|
There seem to be network issues. so i restarted the build. in the mean time, can you add some additional unit tests for the proposed change? |
This pull request fixes 1 alert when merging 10e504a into 9377e94 - view on LGTM.com fixed alerts:
|
Description
Nothing to subscribe so should not assign to _pubsub , then drain_events just sleep. The error introduced by pr7040 :
RuntimeError: pubsub connection not set: did you forget to call subscribe() or psubscribe()?
discussion