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
Waiting time between retries #71
Comments
Can you describe the scenario you're running into in a bit more detail? Is the purpose of a timer to deal with connectivity issues? |
Yup the purpose of the timer is to space out between requests hoping that the internet comes back on. Something like: {
numRetries: 5,
retryWaitTime: 1000 // 1 second
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
numRetries
is a good approach to get around to mobile network issues.Retrying a couple of time in a row does not mean that loadjs will load successfully. Maybe waiting for some seconds before trying again would be better.
Could you please add an optional parameter in order to have loadjs wait some seconds between retries?
The text was updated successfully, but these errors were encountered: