mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
no longer need webhost keep-alive with auto-shutdown
This commit is contained in:
@@ -31,8 +31,6 @@ def run_server_process(multidata: str):
|
||||
logging.info(f'Hosting game at {get_public_ipv4()}:{socketname[1]}')
|
||||
ctx.auto_shutdown = 6 * 60
|
||||
ctx.shutdown_task = asyncio.create_task(auto_shutdown(ctx, []))
|
||||
while ctx.running:
|
||||
await asyncio.sleep(1)
|
||||
await ctx.shutdown_task
|
||||
logging.info("Shutting down")
|
||||
|
||||
|
Reference in New Issue
Block a user