mirror of
https://github.com/creyD/email_valid.git
synced 2026-04-12 11:20:30 +02:00
fix: increased timeout
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user