Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions cloudpebble/gunicorn.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
# and tunable rather than relying on gevent's default of 1000.
worker_connections = int(os.environ.get('WORKER_CONNECTIONS', 1000))
timeout = 120
# Allow larger request lines/headers for big Clay watchface configs saved as JSON.
# Gunicorn's default of 4094 bytes is too small (see issue: "Request Line is too large").
limit_request_line = 8190


def post_fork(server, worker):
Expand Down