-
Notifications
You must be signed in to change notification settings - Fork 66
fix: Add sending queue to ng web server #2273
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
base: develop
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #2273 +/- ##
========================================
Coverage 73.22% 73.22%
========================================
Files 372 373 +1
Lines 15277 15304 +27
Branches 7727 7731 +4
========================================
+ Hits 11186 11206 +20
- Misses 1935 1937 +2
- Partials 2156 2161 +5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Leaving a few nits. Overall should be good 👍
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.
Overall, looks good, only left some minor comments
@@ -50,24 +51,31 @@ SubscriptionContext::SubscriptionContext( | |||
{ | |||
} | |||
|
|||
SubscriptionContext::~SubscriptionContext() | |||
{ | |||
ASSERT(disconnected_, "SubscriptionContext must be disconnected before destroying"); |
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.
That's UB if the exception is thrown, but I think we should be fine.
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.
We throw exceptions from ASSERT()
only in tests. I don't think there is a better way to check this, but I will think how to get rid of exceptions in tests for ASSERT()
.
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.
I added WithMockAssertNoThrow
fixture for this case in tests.
No description provided.