Updates to make things more efficient.

This commit is contained in:
Scott Idem
2024-10-09 13:47:52 -04:00
parent 6604584556
commit f2798551b2
2 changed files with 96 additions and 90 deletions

View File

@@ -111,7 +111,9 @@ AE_API_GUNICORN_PORT_WHITE=5070
AE_API_GUNICORN_TIMEOUT=2100 # (default=30; should be much higher)
AE_API_GUNICORN_GRACEFUL_TIMEOUT=20 # (default=30)
AE_API_GUNICORN_KEEPALIVE=5 # (default=2)
# More workers are noticably faster, but use much more memory. Aproxamately 180 MiB to 200 MiB per worker.
AE_API_GUNICORN_WORKERS=2 # (default=2)
# Less threads seems to be more stable... Ideallly just 1 thread per worker.
AE_API_GUNICORN_THREADS=2 # (default=2)
AE_API_RELOAD=False
AE_API_JWT_KEY="ABC123 22 CHARS" # 22 characters; super secret Aether JWT signing key