diff --git a/pyproject.toml b/pyproject.toml index 9b0d8344..057bf53f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ python = "^3.12" SQLAlchemy = "^2.0.22" psycopg2-binary = "^2.9.9" 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" gql = "^3.4.1" ariadne = "^0.21" diff --git a/server.py b/server.py index 1301ba52..e33cdbe4 100644 --- a/server.py +++ b/server.py @@ -9,8 +9,7 @@ if __name__ == '__main__': 'main:app', address='0.0.0.0', # noqa S104 port=8000, - workers=2, - threads=2, + threads=4, websockets=False, interface=Interfaces.ASGI, )