From c6df0dbb2d44de013421299e1296769a36cb72d3 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Wed, 1 Feb 2023 00:25:10 +0100 Subject: [PATCH] [BUG] Increase worker-timeout to account for install times (#4285) Fixes #4284 --- docker/gunicorn.conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/gunicorn.conf.py b/docker/gunicorn.conf.py index 6f22cf220c..750f293380 100644 --- a/docker/gunicorn.conf.py +++ b/docker/gunicorn.conf.py @@ -18,8 +18,8 @@ worker_tmp_dir = '/dev/shm' # Write temp file to RAM (faster) threads = 4 -# Worker timeout (default = 30 seconds) -timeout = os.environ.get('INVENTREE_GUNICORN_TIMEOUT', 30) +# Worker timeout (default = 90 seconds) +timeout = os.environ.get('INVENTREE_GUNICORN_TIMEOUT', 90) # Number of worker processes workers = os.environ.get('INVENTREE_GUNICORN_WORKERS', None)