fix running

This commit is contained in:
9cfa 2023-03-13 22:48:00 +01:00
parent 43e211c0f8
commit 3f5946c43c
1 changed files with 1 additions and 2 deletions

View File

@ -56,7 +56,6 @@ def receive(method: str, address: str, callback: Union[str, None] = None):
else:
callback = 'None'
callback_req_n = 0
## RPC connection to Demons
match method.upper():
@ -128,5 +127,5 @@ def receive(method: str, address: str, callback: Union[str, None] = None):
# Run
if __name__ == '__main__':
uvicorn.run('main:app', host='0.0.0.0', reload=True, debug=True)
uvicorn.run('main:app', host='0.0.0.0', reload=True)
#workers=4 (doesn't work with reload)