Skip to content

Commit 3e0d5dd

Browse files
authored
Increase request line limit (#227)
1 parent 7a73771 commit 3e0d5dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ RUN python3 -m pip install --no-cache-dir --extra-index-url https://www.piwheels
3232

3333
EXPOSE 5000
3434

35-
CMD gunicorn -w 8 -b 0.0.0.0:5000 gramps_webapi.wsgi:app --timeout 120
35+
CMD gunicorn -w 8 -b 0.0.0.0:5000 gramps_webapi.wsgi:app --timeout 120 --limit-request-line 8190

demo/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ ENV HOME /app
1616
RUN python3 -m gramps_webapi --config /app/config/config.cfg search index-full
1717

1818
# the $PORT variable is needed for Heroku
19-
CMD gunicorn -w 2 -b 0.0.0.0:$PORT gramps_webapi.wsgi:app --timeout 120
19+
CMD gunicorn -w 2 -b 0.0.0.0:$PORT gramps_webapi.wsgi:app --timeout 120 --limit-request-line 8190
2020

0 commit comments

Comments
 (0)