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

waitSeconds is not respected when requiring in errback #1618

Open
wuservices opened this issue Dec 5, 2016 · 0 comments
Open

waitSeconds is not respected when requiring in errback #1618

wuservices opened this issue Dec 5, 2016 · 0 comments

Comments

@wuservices
Copy link

wuservices commented Dec 5, 2016

I created this example to show that waitSeconds isn't respected when calling require in an errback to retry loading something: https://jsfiddle.net/j7L0mzka/.

The big issue with that is, I can't retrying loading a module a few times or retry and show the user an error after a timeout.

I'm trying to implement auto-retry behavior in the errback (similar to #1352). Currently, we have a long waitSeconds, but looking at all the real user errors, it seems like this doesn't help for some people. Instead, it would be great to retry loading the same module and use a shorter waitSeconds. I'm guessing this will be especially good for people with a flakey mobile connection.

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

1 participant