generated from retoor/boeh
chore: set explicit port 3080 in web.run_app call within main function
This commit is contained in:
@@ -10,7 +10,7 @@ def main():
|
|||||||
executor = Executor(max_workers=20)
|
executor = Executor(max_workers=20)
|
||||||
loop = asyncio.get_event_loop()
|
loop = asyncio.get_event_loop()
|
||||||
loop.set_default_executor(executor)
|
loop.set_default_executor(executor)
|
||||||
web.run_app(app, loop=loop)
|
web.run_app(app, loop=loop,port=3080)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|||||||
Reference in New Issue
Block a user