-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Path workers, allow node operators to configure threads used #6667
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
Closed
Closed
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
bb863fa
make number of workers configurable
shortthefomo 4cf8618
minimum needs to be 2 as per currenct implementation
shortthefomo 9d04b24
allow 3/4 of threads to be used
shortthefomo 7022025
fix default
shortthefomo 5a689a3
fix iussues identied on xahaud
shortthefomo c1ef769
remove unwanted contamination of branches
shortthefomo 653d9f3
fix range issue in config
shortthefomo b4a7a87
fix check ordering not to cause further issue
shortthefomo cf849e4
Fix compilation error by removing static from JobQueue::getJobLimit
shortthefomo bce9a22
refactoring job-queue thread heuristic into a single shared helper
shortthefomo 26a610a
add tests for ranges in config param
shortthefomo 59a64d0
move function to end and adjust error message as copiolet wants
shortthefomo 79cfb50
Merge branch 'develop' into path-workers-2
shortthefomo 85db681
Merge branch 'develop' into path-workers-2
shortthefomo 65a32d7
fix: remove static from JobQueue::getJobLimit to match instance membe…
shortthefomo 0d74761
Merge branch 'develop' into path-workers-2
shortthefomo b72bd36
Parallelize path request processing in updateAll using batched async …
shortthefomo d983906
style: apply clang-format to changed files
shortthefomo b0860bf
Merge branch 'develop' into path-workers-2
shortthefomo d9a3af8
ci: [DEPENDABOT] bump actions/upload-artifact from 7.0.0 to 7.0.1 (#7…
dependabot[bot] 93ac1aa
fix: Disable unnecessary sanity-check in VaultDeposit (#7288)
Tapanito a2d901f
Merge branch 'develop' into path-workers-2
shortthefomo 4825a5d
revert: remove parallel batch path request execution, use sequential …
shortthefomo 9cb0492
feat: Propagate underlying MPT flags to vault shares (#7077)
Tapanito a5d238e
docs: Fix some comments to improve readability (#7122)
box4wangjing 242ce3e
refactor: Fix `sfGeneric` and `sfInvalid` field names (#7300)
mvadari 9cb0740
fix: Fix multisign and signfor to check for delegate (#7064)
yinyiqian1 8c00800
fix: Update pDEX invariant firing under a valid offer deletion (#7118)
shawnxie999 a830ab1
style: More clang-tidy identifier renaming (#7290)
godexsoft 28cc20c
fix: Fix wrong hybrid offer orderbook placement and update `LedgerSta…
shawnxie999 afcf6fb
docs: Add --parallel flag to cmake build commands in BUILD.md (#7302)
ricky122-5 f6fd5dd
fix: Add null check (#7305)
pratikmankawde 795dc5e
fix: Avoid principal-zeroing in non-final loan payments at coarse sca…
Tapanito 7fdaa0a
fix: Fix IOU precision issues in LoanBrokerCover transactions (#7274)
Tapanito e24de65
chore: Revert graceful peer disconnection and follow-up fix (#7296)
Tapanito 7930870
release: Bump version to 3.2.0-b6 (#7311)
bthomee 1a98182
refactor: Remove dead `fetchBatch` code (#7309)
bthomee 3547a93
fix: Add assorted MPT/DEX fixes (#7040)
gregtatcam 5d72587
merge: resolve conflicts from shortthefomo/path-workers-2
shortthefomo 3c1d5a4
fix merge issue
shortthefomo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
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.
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.
The example config says the maximum is “3/4 of [workers]”, but the code enforces the limit against the effective job-queue worker count (which is auto-derived when
[workers]isn’t explicitly set). To avoid misleading operators, consider documenting that the cap is based on the effective worker count (explicit[workers]or the auto-selected default).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.
think this is more confusing.