One of the recent direction runs took 90 minutes to complete, which seems excessive.
I suspect we are doing something that was easy to implement but not terribly scalable, like updating the direction for all dates and all geo_ids when only a small number of them were invalidated, and perhaps also using a separate query for each time series with updates (there were 72546 of those in the 90-minute run).
If it turns out the database code isn’t the issue, we might have to think about moving the direction computation outside of epidata and into the individual indicators.