Add limit max requests

This commit is contained in:
2023-05-19 13:09:20 +02:00
parent 403849c483
commit ced98631af
3 changed files with 14 additions and 14 deletions

View File

@@ -4,4 +4,4 @@ rm -rf prometheus
mkdir prometheus
alembic -c ./app/alembic.ini upgrade head
uvicorn main:app --host 0.0.0.0 --port 8080 --loop uvloop --workers 2 --timeout-keep-alive 30
uvicorn main:app --host 0.0.0.0 --port 8080 --loop uvloop --workers 2 --timeout-keep-alive 30 --limit-max-requests 512