4threads-1worker
Some checks failed
Deploy to core / deploy (push) Failing after 8s

This commit is contained in:
Untone 2024-02-19 11:12:00 +03:00
parent e4036c8a79
commit 22466e65e2
2 changed files with 2 additions and 3 deletions

View File

@ -11,7 +11,7 @@ python = "^3.12"
SQLAlchemy = "^2.0.22" SQLAlchemy = "^2.0.22"
psycopg2-binary = "^2.9.9" psycopg2-binary = "^2.9.9"
redis = {extras = ["hiredis"], version = "^5.0.1"} redis = {extras = ["hiredis"], version = "^5.0.1"}
sentry-sdk = { version = "^1.4.1", extras = ["starlette", "aiohttp", "ariadne", "sqlalchemy"] } sentry-sdk = { version = "^1.4.1", extras = ["starlette", "ariadne", "sqlalchemy"] }
starlette = "^0.36.1" starlette = "^0.36.1"
gql = "^3.4.1" gql = "^3.4.1"
ariadne = "^0.21" ariadne = "^0.21"

View File

@ -9,8 +9,7 @@ if __name__ == '__main__':
'main:app', 'main:app',
address='0.0.0.0', # noqa S104 address='0.0.0.0', # noqa S104
port=8000, port=8000,
workers=2, threads=4,
threads=2,
websockets=False, websockets=False,
interface=Interfaces.ASGI, interface=Interfaces.ASGI,
) )