WSDOT / wsdot-kotlin-app

Source Code for the WSDOT Android Application
GNU General Public License v3.0
1 stars 3 forks source link

Fix traffic map refresh button #180

Closed englehorn closed 1 year ago

englehorn commented 1 year ago

We received feedback from a user that the traffic map refresh button is not working.

I did some testing and found that the highway alert cache time for the refresh button is set to one week.

We should change this cache time to five minutes so that the highway alerts can be refreshed at the same time interval as the mobile data file http://data.wsdot.wa.gov/mobile/HighwayAlerts.js

Originally posted by @englehorn in https://github.com/WSDOT/wsdot-kotlin-app/issues/177#issuecomment-1442565226

waynedyck commented 1 year ago

The alerts should definitely not be caching for a week; that doesn't make any sense. The cameras, yes, because they don't change that much, but definitely not the alerts.