nprapps / elections18-general

2018 midterm election back-end: Associated Press data ETL, database, admin panel, and JSON output; iteration upon 2016 GE work
MIT License
3 stars 1 forks source link

Turn off AP API polling and GCU updating process once AP completes tabulation #33

Open mileswwatkins opened 6 years ago

mileswwatkins commented 6 years ago

Kill this by running fab production servers.stop_service:fetch_and_publish_results

mileswwatkins commented 5 years ago

cc @alykat @thomaswilburn

The AP is still tabulating for AZ CA FL* GA NJ NY* UT WA, according to their Nov 12 email. I've turned off the update spinner (used on the BoP graphics), since the data are only being updated by the AP every few hours or so nowadays, but until vote tabulation is finalized we'll need to keep the server on.

Once the AP notifies us (@alykat will receive the email) that tabulation is complete, then there are three steps for @thomaswilburn to perform:

  1. Use the admin panel to call any races in our graphics that have not yet been called (this may require waiting a little for recounts or similar, and leaving the server and daemon on during that period)
  2. Turn off the daemon (using fab production servers.stop_service:fetch_and_publish_results as documented above)
  3. Turn off the elections EC2 on our AWS account