debug: without check uploader in server.py
Some checks failed
Deploy on push / deploy (push) Failing after 22s
Some checks failed
Deploy on push / deploy (push) Failing after 22s
This commit is contained in:
parent
98d7c522fb
commit
e4d83d35eb
|
@ -1,4 +1,3 @@
|
|||
import subprocess
|
||||
from granian.constants import Interfaces
|
||||
from granian.server import Granian
|
||||
|
||||
|
@ -13,7 +12,6 @@ def is_docker_container_running(name):
|
|||
if __name__ == "__main__":
|
||||
logger.info("started")
|
||||
|
||||
if is_docker_container_running('uploader'):
|
||||
granian_instance = Granian(
|
||||
"main:app",
|
||||
address="0.0.0.0", # noqa S104
|
||||
|
@ -23,5 +21,3 @@ if __name__ == "__main__":
|
|||
interface=Interfaces.ASGI,
|
||||
)
|
||||
granian_instance.serve()
|
||||
else:
|
||||
logger.info("'uploader' is not running. But very needed !!! \(^.^'\)")
|
Loading…
Reference in New Issue
Block a user