GUI/covid-vaccine-spotter

Race condition can lead to locations on state map not loading

Closed this issue · 0 comments

GUI commented

If the state JSON file takes longer to load, then the map can fail to render. In these cases, the data will still show up in the right column, but the map will be empty.

I've seen this sporadically pop up, but not too frequently. I finally figured out how to reproduce it if I go to https://www.vaccinespotter.org/CO/ but use URL Throttler to throttle only the loading of the https://www.vaccinespotter.org/api/v0/states/CO.json endpoint to be slower.