-
Notifications
You must be signed in to change notification settings - Fork 14
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: Shutdown hub when transport is gone #25
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #25 +/- ##
===========================================
Coverage 100.00% 100.00%
- Complexity 138 141 +3
===========================================
Files 25 25
Lines 396 409 +13
===========================================
+ Hits 396 409 +13
☔ View full report in Codecov by Sentry. |
I just added a commit - can you please try again with this fix? |
I think I don't need to configure The new commit seems to fix the issue 👍 But I think the changes on |
Good news! 🎉 |
Fix #24 - Hub is not aware of redis connection losses
Unfortunately I was not able to set up an automatic reconnection.
Updates can be prevented from being published by returning a 503 error, but for subscriptions, I could not manage to :
Killing the hub is the best I can do so far - a supervisor process (systemd, supervisor etc) should handle its respawn.