We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da6fe7e commit 09c13aeCopy full SHA for 09c13ae
core/__init__.py
@@ -54,6 +54,7 @@ async def syncFiles():
54
await cluster.setupRouter()
55
await cluster.listen(protocol == "https", Config.get("cluster.port"))
56
await cluster.enable()
57
+ cluster.want_enable = True
58
if not cluster.enabled:
59
raise asyncio.CancelledError
60
scheduler.start()
@@ -65,6 +66,7 @@ async def syncFiles():
65
66
except asyncio.CancelledError:
67
logger.tinfo("main.info.stopping")
68
if cluster.enabled:
69
+ cluster.want_enable = False
70
await cluster.disable()
71
if cluster.socket:
72
await cluster.socket.disconnect()
0 commit comments