Shows offline pop-up frequently due to request timeout
basavarajayyahtrigent opened this issue · 0 comments
basavarajayyahtrigent commented
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:
- API call-1 made to check internet connection but timedout (timeout is 10s)
- API call-2 made 3 seconds after the first call - succeeded.
because API call-1 timesout after 10s it shows interent is down.