From 53ecca34d805a73ca56078591eb61d7cf661ea5e Mon Sep 17 00:00:00 2001 From: Oliver Date: Fri, 9 Dec 2022 16:51:58 +1100 Subject: [PATCH] gunicorn: revert support for gevent (#4035) - For some reason this causes production docker image to fail to build - but only in GitHub CI ?? --- docker/gunicorn.conf.py | 3 ++- docker/requirements.txt | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/gunicorn.conf.py b/docker/gunicorn.conf.py index 62ecafcfee..a12a1c8436 100644 --- a/docker/gunicorn.conf.py +++ b/docker/gunicorn.conf.py @@ -12,7 +12,8 @@ loglevel = os.environ.get('INVENTREE_LOG_LEVEL', 'warning').lower() capture_output = True # Worker configuration -worker_class = 'gevent' # Allow multi-threading support +# TODO: Implement support for gevent +# worker_class = 'gevent' # Allow multi-threading support worker_tmp_dir = '/dev/shm' # Write temp file to RAM (faster) threads = 4 diff --git a/docker/requirements.txt b/docker/requirements.txt index dcb240a585..2371292f9d 100644 --- a/docker/requirements.txt +++ b/docker/requirements.txt @@ -14,4 +14,3 @@ mariadb>=1.0.7,<1.1.0 # gunicorn web server gunicorn>=20.1.0 -gevent>=22.10.2