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

Inform user about rank in queue #32

Open
rgaudin opened this issue Nov 10, 2022 · 2 comments
Open

Inform user about rank in queue #32

rgaudin opened this issue Nov 10, 2022 · 2 comments
Labels
enhancement New feature or request stale

Comments

@rgaudin
Copy link
Member

rgaudin commented Nov 10, 2022

On the status page indicating that the task is pending, we already indicate whether the task has started or not.
When it hasn't, we should indicate the position in the queue as there is no possibility for a user to know if the task will be picked up in a reasonable amount of time or not.

As we don't use a queue but zimfarm fetches tasks as it pleases, we can only provide an approximation.
Knowing that we have a single worker processing two tasks as once, we can sort the requests by creation time and infer some fake rank in a fake queue.

This should be good enough for now.

@rgaudin rgaudin added the enhancement New feature or request label Nov 10, 2022
@Darkcoder011
Copy link

means we just want to show our customer that the Work is Processing but the Work is Actually is in pending just like WINRAR

@rgaudin

@stale
Copy link

stale bot commented May 26, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale
Projects
None yet
Development

No branches or pull requests

2 participants