Skip to content
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

Average Duration can (under certain conditions) be wrong #1031

Open
kelson42 opened this issue Oct 12, 2024 · 2 comments
Open

Average Duration can (under certain conditions) be wrong #1031

kelson42 opened this issue Oct 12, 2024 · 2 comments
Labels

Comments

@kelson42
Copy link
Contributor

Looking at https://farm.openzim.org/recipes/cest-pas-sorcier_fr_astronomie, it's written Duration: 40 minutes, 40 seconds
Image

But this recipe had only two (failed) attempts/tasks and each of them has taken only a few minutes.

Therefore the ~ 40 minutes duration can not be valid.

Considering that AFAIK this value should be the longest duration for the last tracked successful attempts, I guess that no value should be computed/displayed at all for the "Duration" in such a scenario.

@kelson42 kelson42 added the bug label Oct 12, 2024
@rgaudin
Copy link
Member

rgaudin commented Oct 12, 2024

I believe this duration is coming from the schedule that has been cloned into this one. It's actually indicated by the default and the date. Scheduler kinda requires an existing duration which is why we have a default.

@benoit74
Copy link
Collaborator

Yep, I'm pretty sure it comes from the clone. I'm quite sure it is solved once we have a succesful run. Anyway, this should still be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants