Skip to content

Commit

Permalink
Merge pull request #208 from OpenUpSA/sys/gunicorn-config
Browse files Browse the repository at this point in the history
Fixed bleach NoneType issue on /attendances/
  • Loading branch information
paulmwatson authored Jan 10, 2024
2 parents c6af99a + cce63c4 commit 5367932
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ WORKDIR /app

RUN bundle install

CMD gunicorn --limit-request-line 7168 --worker-class gevent pombola.wsgi:application -t 600 --log-file - -b 0.0.0.0:5000
CMD gunicorn --workers 5 --worker-class gevent --timeout 30 --max-requests 10000 --max-requests-jitter 100 --limit-request-line 7168 --log-file - -b 0.0.0.0:5000 pombola.wsgi:application
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ <h2>Committee Meetings Attended</h2>
<span class="meeting-date">{{ meeting.date }}</span>
</p>
<div class="meeting-summary">
{% if meeting.summary %}
{{ meeting.summary|bleach|truncatewords_html:50 }}
{% endif %}
</div>
</li>

Expand Down

0 comments on commit 5367932

Please sign in to comment.