mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-18 22:17:51 +00:00
Preload gunicorn app to only invoke the appconfig ready functions once
This commit is contained in:
3 files changed
+9
No files matched your search
@@ -37,3 +37,6 @@ logger.info(f"Starting gunicorn server with {workers} workers")
|
||||
|
||||
max_requests = 1000
|
||||
max_requests_jitter = 50
|
||||
|
||||
# preload app so that the ready functions are only executed once
|
||||
preload_app = True
|
||||
Reference in new issue
Block a user