-
Notifications
You must be signed in to change notification settings - Fork 1.6k
refactor: acquireAsync will dispatch a job, not be dispatched #5327
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
Draft
ximinez
wants to merge
17
commits into
develop
Choose a base branch
from
ximinez/acquireAsyncDispatch
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8a1331c to
021c10d
Compare
fd9bff2 to
a241e2f
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #5327 +/- ##
=======================================
Coverage 79.5% 79.5%
=======================================
Files 816 817 +1
Lines 72180 72209 +29
Branches 8295 8273 -22
=======================================
+ Hits 57364 57394 +30
+ Misses 14816 14815 -1
🚀 New features to boost your workflow:
|
021c10d to
7dc9efd
Compare
011e2c8 to
53f1f02
Compare
7dc9efd to
068b71f
Compare
53f1f02 to
16a3282
Compare
068b71f to
d7790ce
Compare
16a3282 to
ccb0099
Compare
d7790ce to
46f8af5
Compare
ccb0099 to
a53f0c0
Compare
46f8af5 to
0e4f4d2
Compare
a53f0c0 to
78f4bae
Compare
0e4f4d2 to
06e0540
Compare
78f4bae to
c1382ab
Compare
06e0540 to
4b464d1
Compare
c1382ab to
363cd17
Compare
4b464d1 to
a6799ec
Compare
363cd17 to
0954203
Compare
a6799ec to
0b8c2b3
Compare
0954203 to
adb9df3
Compare
0b8c2b3 to
f2b1a67
Compare
adb9df3 to
262940a
Compare
f2b1a67 to
c1215d0
Compare
262940a to
9ecb783
Compare
c1215d0 to
966204c
Compare
9ecb783 to
e60c51a
Compare
966204c to
c49d81c
Compare
e60c51a to
da31e1c
Compare
c49d81c to
07fa3a6
Compare
7929697 to
32d8f54
Compare
ae55569 to
76fdc2b
Compare
76fdc2b to
d084704
Compare
- Improve logging related to ledger acquisition and operating mode changes - Class "CanProcess" to keep track of processing of distinct items
- Delete the copy ctor & operator
d084704 to
84c9fc1
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
High Level Overview of Change
Does a few different things:
CanProcessto use where needed for job deduplication.to_short_string(base_uint)function to help disambiguate some messages about peers and ledgers.InboundLedger::onTimerwithout sending new requests if the complete ledger is available. (Duh.)InboundLedgers::acquireAsyncso that it dispatches a job, and is not called from a dispatched job. This will reduce the number of jobs spun up only to immediately exit.Context of Change
This is the safe subset of changes from #5301, which has problems, plus the item to dispatch from
acquireAsync.Type of Change
API Impact
None