remulasce / metroapp

Realtime arrival notification utility for LA Metro
2 stars 0 forks source link

When internet service is reconnected, immediately update all predictions. #211

Open remulasce opened 9 years ago

remulasce commented 9 years ago

Right now it seems like predictionmanager doesn't want to go get new updates after service is lost a while.

Possibly also when we lose service, the update thread gets stuck somehow.

remulasce commented 9 years ago

What currently happens depends on the reconnection case.

If you close the app, then come back to it, everything updates because everything remembers that it's been a while since the last update.

But if there's no network connectivity, the predictions are totally fine thinking they've been updated. So there's nothing showing that they didn't actually get the update they requested.