NCVotes / voters-ingestor

Django app to create and configure Postgres DB, then fetch and process public voter registration and voter history files from N.C. Board of Elections
MIT License
10 stars 1 forks source link

Remove extra division #82

Closed vkurup closed 6 years ago

vkurup commented 6 years ago

I think delta should be in microseconds because we then check on line 48 if it's greater than 1000, and if so, label it seconds.

Seeing output like this on prod, despite each step taking about a minute to return:

matview_mv_voter_ncvoter_county_desc_moore [191ms 45/114]
matview_mv_voter_ncvoter_county_desc_graham [119ms 46/114]
matview_mv_voter_ncvoter_county_desc_nash [123ms 47/114]
matview_mv_voter_ncvoter_county_desc_granville [131ms 48/114]
matview_mv_voter_ncvoter_county_desc_greene [217ms 49/114]
matview_mv_voter_ncvoter_county_desc_wayne [130ms 50/114]
matview_mv_voter_ncvoter_county_desc_wilkes [14ms 51/114]