port-fix
Some checks failed
Deploy to core / deploy (push) Failing after 6s

This commit is contained in:
2024-02-21 23:14:06 +03:00
parent 750f00c6ac
commit 8d06f59702
2 changed files with 4 additions and 2 deletions

View File

@@ -1,6 +1,8 @@
from granian.constants import Interfaces
from granian.server import Granian
from services.logger import root_logger as logger
from settings import PORT
if __name__ == '__main__':
logger.info('started')
@@ -8,7 +10,7 @@ if __name__ == '__main__':
granian_instance = Granian(
'main:app',
address='0.0.0.0', # noqa S104
port=8000,
port=PORT,
threads=4,
websockets=False,
interface=Interfaces.ASGI,