geary / election-results

Automatically exported from code.google.com/p/election-results
0 stars 0 forks source link

Map stops refreshing statistics #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

I load the page, see statistics and then they don't update after some time in 
Chrome.  This happened around 5:30 a.m. eastern during the test feed run on 
6/9.  Things were updating for a while in Chrome, but then they stopped.

I then got similar behavior in Safari and Firefox where updates never seemed to 
work.  Weird bit was that even a shift-refresh in Safari or Firefox didn't get 
new statistics.  LiveHTTPHeaders in firefox confirms that fusion tables was not 
hit again (and I knew that the statistic had been updated)

Original issue reported on code.google.com by csab...@google.com on 9 Jun 2011 at 9:43

GoogleCodeExporter commented 9 years ago
Looks like Safari and FF did update, albeit slowly.  Chrome issues may have 
been related to the translation bar being open.  

Still surprised that a full reload of the page did not refetch the statistics 
from fusion tables (at least in FF).

Original comment by csab...@google.com on 9 Jun 2011 at 9:57

GoogleCodeExporter commented 9 years ago
No idea on the failure to update after a hard reload - that seems odd.

I did fix one thing - it's using setInterval() now instead of setTimeout(), so 
if one of the data downloads fails it will try again a couple minutes later. 
Before a download failure would stop the automatic reloading.

Original comment by m...@mg.to on 10 Jun 2011 at 12:39