Regina Compton
Regina Compton
One of our repos at Brighthive uses Graphene; we've used Graphene for about 6 months. I am interested and (hopefully) able to contribute by: reviewing PRs and writing documentation.
It looks like this model property varies among the Councilmatics (e.g., Chicago renders a PDF, but NYC does not). It seems like it would be best to allow for this...
I found a potential place to prefetch actions. In the `legislation_item` partial we [iterate over bill topics](https://github.com/datamade/django-councilmatic/blob/master/councilmatic_core/templates/partials/legislation_item.html#L29) and call [the `tags` partial](https://github.com/datamade/django-councilmatic/blob/master/councilmatic_core/templates/partials/tags.html#L7), which uses `get_last_action_date`: https://github.com/datamade/django-councilmatic/blob/master/councilmatic_core/models.py#L350 This nested business means...
Related to: https://github.com/datamade/la-metro-councilmatic/issues/232
It looks like a conventional strategy for restarting failed processes on Ubuntu entails the use of a config file (e.g. `etc/init/solr.conf/`) and [Upstart](https://askubuntu.com/questions/251577/how-to-supervise-and-automatically-restart-a-process).
N.B. To prevent Solr crashes, we might also think about limiting the query results (since that tends to be what sucks up server memory and brings down solr). However, this...
@evz and I did some work on this. Next steps: - [x] we can limit the Jetty heap memory by passing in arguments to `JETTY_OPTIONS` in jetty.conf. I'll add such...
Interesting thought. Thanks for the idea @goldnate!
Thanks for the suggestion @jmcarp! I am going to loop-in our senior developer @evz to get his input.
@evz