From 597b273204bf2dae4333d0acd188c8e8d5e3fca9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20S=C3=A1nchez-Gallego?= Date: Sun, 14 May 2023 11:07:23 -0700 Subject: [PATCH] Change gunicorn to a single worker with 300s timeout --- gunicorn-start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn-start.sh b/gunicorn-start.sh index 6e50efb..d8da4b4 100755 --- a/gunicorn-start.sh +++ b/gunicorn-start.sh @@ -1,4 +1,4 @@ #!/bin/bash source /home/mrouser/anaconda3/etc/profile.d/conda.sh conda activate uwmro_instruments -gunicorn -w 4 "app:app" \ No newline at end of file +gunicorn --timeout 300 -w 1 "app:app"