From f86f2c0dec20f12b334326884c82e88a1899aa28 Mon Sep 17 00:00:00 2001
From: Benjamin Bertrand <benjamin.bertrand@esss.se>
Date: Thu, 4 Jan 2018 14:37:52 +0100
Subject: [PATCH] Increase uwsgi buffer-size

Fix failure for ajax request GET /inventory/_retrieve_items?draw=7&columns...:
invalid request block size: 5574 (max 4096)...skip
	# Please enter the commit message for your changes. Lines starting
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 5dbc28b..e005aac 100644
--- a/Makefile
+++ b/Makefile
@@ -55,4 +55,4 @@ test_image:  ## run the tests (on the latest image)
 	docker-compose -f docker-compose.yml run --rm web
 
 run_uwsgi:  ## run the application with uwsgi (to test prod env)
-	docker-compose run -p 8000:8000 --rm web uwsgi --master --http 0.0.0.0:8000 --http-keepalive --manage-script-name --mount /csentry=wsgi.py --callable app --uid ics --processes 2
+	docker-compose run -p 8000:8000 --rm web uwsgi --master --http 0.0.0.0:8000 --http-keepalive --manage-script-name --mount /csentry=wsgi.py --callable app --uid ics --processes 2 -b 16384
-- 
GitLab