newsdev / elex-admin

A CRUD admin for editing AP election results data, including names and race calls.
6 stars 2 forks source link

Should setting a winner increment the AP updated time? #16

Closed giratikanon closed 8 years ago

giratikanon commented 8 years ago

The main issue we'd be trying to solve is that on the frontend, we're not updating results if the load id is older than the previous one.

However, in a situation where either the API or FTP rewinds in a time, and we need to make a a call when our updated time is behind the frontend clients.

So we either need a way to manually update the timestamp to be ahead of the latest timestamp we've ever had, or some other solution (like "force_update" in the API).

jeremyjbowers commented 8 years ago

This is solved in IC now where both the timestamp AND the message body are checked for changes.