fix: increased timeout

This commit is contained in:
2025-05-19 18:44:22 +02:00
parent dd9436d912
commit d6e637bf82
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ RUN pip install 'uvicorn[standard]'
ENV ENV=DEV
EXPOSE 8000
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--timeout-keep-alive", "600", "--limit-max-requests", "0"]
# Install curl
RUN apt-get update && apt-get install -y curl && apt-get clean

View File

@@ -5,7 +5,7 @@ from validate_email import validate_email
app = FastAPI(
title="MailConfirm API",
description="API for telegram bot for confirming emails.",
version="0.1.0",
version="0.1.1",
docs_url="/",
redoc_url=None,
debug=False,