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

The progress bar does not auto-update when the network error occured and then restored #77

Open
shining2007 opened this issue Mar 1, 2021 · 2 comments

Comments

@shining2007
Copy link

It seems the progress bar will not update anymore when it encountered a network Error.
For example, when I flap the network, the progress bar will stop updating forever.
I also tried to install celery-progress[websockets,redis] instead of celery-progress, but it still does not work.
Do you have any good idea to make the progress bar auto-update when the network is restored?

@OmarWKH
Copy link
Collaborator

OmarWKH commented Mar 1, 2021

See related issue #13 for a way to approach this.

I imagine this could be done in multiple ways:

  1. Retry continuously with a cool down interval.
  2. Retry a few times then give up.
  3. Show a button/link for the user to initiate a retry.

I don't know if any of these should be the default behaviour or not.

@czue
Copy link
Owner

czue commented Mar 2, 2021

No strong feelings about the default, but I do think that all of these options would be better than the current behavior. Options 1 and/or 2 have the benefit of not needing to introduce any new UI components so I guess I'd advocate for one of those.

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

No branches or pull requests

3 participants