-
Notifications
You must be signed in to change notification settings - Fork 89
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
refactor(consensus): change the broadcast fn in context to take 'ref mut self' #2241
refactor(consensus): change the broadcast fn in context to take 'ref mut self' #2241
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @matan-starkware and the rest of your teammates on Graphite |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2241 +/- ##
=======================================
Coverage 66.31% 66.31%
=======================================
Files 139 139
Lines 18341 18339 -2
Branches 18341 18339 -2
=======================================
- Hits 12163 12162 -1
+ Misses 4883 4881 -2
- Partials 1295 1296 +1 ☔ View full report in Codecov by Sentry. |
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.
Reviewed 6 of 6 files at r1, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @matan-starkware)
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.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @matan-starkware)
ref mut self
699dc57
to
4323456
Compare
0c973ac
to
e0d1548
Compare
4323456
to
d23c070
Compare
e0d1548
to
317834b
Compare
The base branch was changed.
317834b
to
9da4700
Compare
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.
Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @matan-starkware)
…mut self' This allows us to remove the Arc<Mutex> and also avoid cloning the sender on every call. The cost is that we leak the fact that futures Sender requires .
9da4700
to
d0f50df
Compare
…mut self' (#2241) This allows us to remove the Arc<Mutex> and also avoid cloning the sender on every call. The cost is that we leak the fact that futures Sender requires .
…mut self' (#2241) This allows us to remove the Arc<Mutex> and also avoid cloning the sender on every call. The cost is that we leak the fact that futures Sender requires .
This allows us to remove the Arc and also avoid cloning the sender on every call.
The cost is that we leak the fact that futures Sender requires .
This change is