Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Shows offline pop-up frequently due to request timeout #270

Open
basavarajayyahtrigent opened this issue Feb 12, 2018 · 0 comments
Open

Comments

@basavarajayyahtrigent
Copy link

When offline.js makes an API call to check internet connection and if the request timesout it shows offline pop-up even though subsequent calls have succeeded. So it gives the impression that application goes offline again and again.

Example:

  1. API call-1 made to check internet connection but timedout (timeout is 10s)
  2. API call-2 made 3 seconds after the first call - succeeded.

because API call-1 timesout after 10s it shows interent is down.

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

No branches or pull requests

1 participant