From f0c6a980271bdd52892b61ef9d5f5fbe3753d286 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Fri, 20 May 2016 11:35:41 -0700 Subject: [PATCH] Gunicorn tweaks, unlimited limit-request-line & limit-request-field_size (#500) This is mostly to enable long text in the Markdown widget Related: https://github.com/benoitc/gunicorn/issues/376 --- caravel/bin/caravel | 2 ++ 1 file changed, 2 insertions(+) diff --git a/caravel/bin/caravel b/caravel/bin/caravel index 1d6c8f93ecdf..ccec716be2eb 100755 --- a/caravel/bin/caravel +++ b/caravel/bin/caravel @@ -47,6 +47,8 @@ def runserver(debug, port, timeout, workers): "-w {workers} " "--timeout {timeout} " "-b 0.0.0.0:{port} " + "--limit-request-line 0 " + "--limit-request-field_size 0 " "caravel:app").format(**locals()) print("Starting server with command: " + cmd) Popen(cmd, shell=True).wait()