1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-15 00:59:26 +08:00

fix: conflict between exit when server is under maintenance and instance restart

This commit is contained in:
0O0o0oOoO00
2025-07-17 17:14:36 +08:00
parent acd749852f
commit f1cfd90deb

View File

@@ -126,6 +126,7 @@ class ServerChecker:
content=f"Server is under maintenance, exit"
)
logger.info("Server is under maintenance, exit")
logger.info("Reason: Finish")
exit(0)
else:
if self._timer.limit < 600: