Webhost Update

introduce a very WIP tracker
Server will try to reuse port and also try to only use one port
This commit is contained in:
Fabian Dill
2020-06-21 15:32:31 +02:00
parent 2759f6812c
commit 6421a373e1
9 changed files with 316 additions and 49 deletions

View File

@@ -1202,8 +1202,7 @@ async def main(args: argparse.Namespace):
await ctx.shutdown_task
if __name__ == '__main__':
loop = asyncio.get_event_loop()
try:
loop.run_until_complete(main(parse_args()))
asyncio.run(main(parse_args()))
except asyncio.exceptions.CancelledError:
pass