[BUG] Increase worker-timeout to account for install times (#4285)

Fixes #4284
This commit is contained in:
Matthias Mair 2023-02-01 00:25:10 +01:00 committed by GitHub
parent 06eb3a81b6
commit c6df0dbb2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,8 +18,8 @@ worker_tmp_dir = '/dev/shm' # Write temp file to RAM (faster)
threads = 4 threads = 4
# Worker timeout (default = 30 seconds) # Worker timeout (default = 90 seconds)
timeout = os.environ.get('INVENTREE_GUNICORN_TIMEOUT', 30) timeout = os.environ.get('INVENTREE_GUNICORN_TIMEOUT', 90)
# Number of worker processes # Number of worker processes
workers = os.environ.get('INVENTREE_GUNICORN_WORKERS', None) workers = os.environ.get('INVENTREE_GUNICORN_WORKERS', None)