merged
Some checks failed
Deploy on push / deploy (push) Failing after 11s

This commit is contained in:
2024-08-12 11:00:01 +03:00
parent 208de158bc
commit c5ee827230
11 changed files with 103 additions and 71 deletions

View File

@@ -1,6 +1,7 @@
import subprocess
from granian.constants import Interfaces
from granian.log import LogLevels
from granian.server import Granian
from settings import PORT
@@ -21,8 +22,9 @@ if __name__ == "__main__":
"main:app",
address="0.0.0.0", # noqa S104
port=PORT,
interface=Interfaces.ASGI,
threads=4,
websockets=False,
interface=Interfaces.ASGI,
log_level=LogLevels.debug,
)
granian_instance.serve()