-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
test: reenable test_state_root_task
test
#13911
Conversation
999ab0c
to
161bd66
Compare
b3457bb
to
93d135c
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.
pending @rkrasiuk for proof fn changes
crates/engine/tree/src/tree/root.rs
Outdated
pub(crate) fn thread_pool_size() -> usize { | ||
std::thread::available_parallelism().map_or(4, |num| (num.get() / 2).max(4)) |
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.
this solution should work because it should avoid intra worker thread deadlocks but is not super ideal.
at least for this is a good enough work around, will try to come up with a better solution
crates/engine/tree/src/tree/root.rs
Outdated
pub(crate) fn thread_pool_size() -> usize { | ||
std::thread::available_parallelism().map_or(4, |num| (num.get() / 2).max(4)) |
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.
does this work with 3 as well?
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.
yep, anything above 2, pushed changes for 3
Co-authored-by: Roman Krasiuk <[email protected]>
Description
A placeholder PR to figure out why
test_state_root_task
is failing in CI.