-
Notifications
You must be signed in to change notification settings - Fork 5
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
Distinct trust check #755
Distinct trust check #755
Conversation
@dorschs57 what do you think about this approach? I was thinking that you could just fire up a check on ancillary and system at the same time to feed separate progress indicators on each view. |
crates/pyo3/src/check.rs
Outdated
eprintln!( | ||
"BatchConf: tc:{}, tl{}, bc:{}, bl:{}", | ||
batch_cfg.thread_cnt, batch_cfg.thread_load, batch_cfg.batch_cnt, batch_cfg.batch_load | ||
); |
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.
Did you mean to leave this in here?
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.
yeah, the stderr prints are placeholders for real log calls
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.
I like this approach. It will allow me to keep the 2 separated at the redux layer like they where in the original code. 👍
OK. I need to get one more test in to make sure the gil is synchronizing the merge call. Then it will be merged. |
Improve #691 by adding ability to distinguish between type of trust being checked.
Rather than add a flag to the type, or separate return batches, this adds separate entrypoints. The callback handlers will be responsible for knowing which type they are receiving.
This also changes the return value of the
check_*
call to represent the total number of records to be checked. The count parameter of the update callback is now the total number checked as of that callback, such that thecheck_*
return value should equal the callback count value on the final batch.See the updated reference impl in
examples/async_trust.py
#690
#750