-
Notifications
You must be signed in to change notification settings - Fork 756
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
feature request: add progress bar for blockcheck.sh #1141
Comments
It's not easy. Check process depends on previous results. |
If you can calculate total possible number of requests, then you can make progress on this. No need to be very precise it just for user to understand is it a minute or is it an hour. If some requests are skipped progress just will be faster. |
Theoretically it's possible but if you look at I dont think this complexity worth it |
If you want to speed up execution there're some possibilities SKIP_TPWS=1 CURL_MAX_TIME=1 PARALLEL=1 ./blockcheck.sh If you set >1 attempts PARALLEL launches many attempts at once (can trigger ddos protection) |
This problem is known well. You just need to collect all tasks descriptions at first step, and then iterate over it evaluating them. So, before actual requests you will know the total amount of requests |
Yes. But it's not enough to count total maximum tests. |
Hm, I don't get it. You can't without any requests build a total list of required requests, is it? |
I can dry-run it with silent fail and count total possible maximum that would be with force mode.. |
I mean, you can assume that every possible test will be evaluated and start from this count. Then, when you decide to skip test, you will mark this test as done in progress. |
Logic of test skipping is not straightforward. |
Yes, I understand that in current implementation this can be hard or impossible to implement and probe code needs to be refactored. |
I'm watching some probes for a hour and I don't know how long will it goes.
The text was updated successfully, but these errors were encountered: