mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 19:46:46 +00:00
gunicorn: revert support for gevent (#4035)
- For some reason this causes production docker image to fail to build - but only in GitHub CI ??
This commit is contained in:
parent
c4f0fa4d3a
commit
53ecca34d8
@ -12,7 +12,8 @@ loglevel = os.environ.get('INVENTREE_LOG_LEVEL', 'warning').lower()
|
|||||||
capture_output = True
|
capture_output = True
|
||||||
|
|
||||||
# Worker configuration
|
# 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)
|
worker_tmp_dir = '/dev/shm' # Write temp file to RAM (faster)
|
||||||
threads = 4
|
threads = 4
|
||||||
|
|
||||||
|
@ -14,4 +14,3 @@ mariadb>=1.0.7,<1.1.0
|
|||||||
|
|
||||||
# gunicorn web server
|
# gunicorn web server
|
||||||
gunicorn>=20.1.0
|
gunicorn>=20.1.0
|
||||||
gevent>=22.10.2
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user