-
Notifications
You must be signed in to change notification settings - Fork 6
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
How to read progress? #19
Comments
EDIT: This is no longer true, the progress bar was changed in version 1.4.0. See below for new behavior. The progress bar is simply There is some bias here though, if sources respond at different rates (say most are fast but one is slow), then you will complete the progress bar up to 7/8 quickly, but still have to wait for the slow source's queries to complete. You can use the verbose (
An entry is only processed when all queries related to it have completed, which is why the entry counter is lower than the progress bar. Unfortunately, the ETA isn't very reliable, as it expects the progress bar to update at a constant rate, and not slow down at the end when the fast sources are done. btac really should not remain stuck more than 40s with the default timeout (although if you have a lot of entries, an increment of one query might not be noticeable on the progress bar). |
Unfortunately, I've seen it not being able to finish in 10 hours, hence the question. It wrote something like |
Oh I just remembered there is another source of delays: rate limits. Sometimes an API response will request btac wait before the next query to reduce server load. This request can specify any delay, often its a few seconds but there is nothing stopping them from requesting hours... In that case btac will patiently wait for the given delay before performing its next query... Note that these rate limits are often IP based, so using a VPN might increase them significantly if other VPN users are querying the same API. I should probably add some smarter logic to btac to allow it to end faster. Something like skipping queries if the delay gets too long or if the source is too slow compared to all the others. |
Thanks for the explanation! |
I've changed the progress bar in version 1.4.0 since it was causing confusion. It now only counts completed entries and not queries. As a result the progress should be more predictable (If needed, this can be disabled with the BTAC will also now skip queries if some sources are lagging behind when 2/3rds of the others have finished. This should improve performance a lot when a single source is overloaded and takes a lot longer to respond. As a result of these changes the progress bar ETA should now be an over-approximation of the time required, rather than an under-approximation as it was before. |
What does the percentage mean? In progress bar the same as %? What is btac doing when stuck?
The text was updated successfully, but these errors were encountered: