-
Notifications
You must be signed in to change notification settings - Fork 2.1k
refactor: decouple max proof task concurrency from inflight proof limits #19171
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
Conversation
|
|
||
| /// Default upper bound for inflight multiproof calculations. These would be sitting in the queue | ||
| /// waiting to | ||
| pub const DEFAULT_MULTIPROOF_INFLIGHT_LIMIT: usize = 256; |
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.
initially wanted this as a cli arg, but dont think it makes sense as its too hard to configure
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.
reasonable
This reverts commit 9419424.
mattsse
left a comment
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.
makes sense, especially with #19183 coming up
Closes: #19100
Problem:
max proof task concurrencyvariable, which is now only used for inflight limit, and the naming doesn't reflect the actual nature of the use case.Changes:
max proof task concurrencyas we don't need it anymore in the code. It only serves as inflight proof limit.Benches:no regression while running