datamade / django-councilmatic

:heartpulse: Django app providing core functions for *.councilmatic.org
http://councilmatic.org
MIT License
26 stars 16 forks source link

Adjust logic for sending notifications #168

Closed reginafcompton closed 6 years ago

reginafcompton commented 6 years ago

Running the Solr update on the production does not work as expected.

It should only update the recently updated bills, not those added in the last 24 hours - otherwise we end up replicating work (i.e., when the import command runs every 15 minutes).

My preference would be to execute each command separately in cron, depending on the needs of the Councilmatic. So, for NYC and Chicago, we'd need to run:

reginafcompton commented 6 years ago

We've implemented this via PR #169