changed comment

This commit is contained in:
2026-06-07 18:33:06 +08:00
parent b14931b724
commit 790ce86434
+1 -1
View File
@@ -34,7 +34,7 @@ def main
MethodExecutor.record("info", "mainloop", "Action: ForceResetServerProcess triggered.") MethodExecutor.record("info", "mainloop", "Action: ForceResetServerProcess triggered.")
MethodExecutor.reset_minecraft_server MethodExecutor.reset_minecraft_server
# 重启后等待服务器启动(MC服务器启动通常需要30秒~2分钟) # 重启后等待服务器启动(MC服务器启动通常需要30秒~2分钟)
cooldown = 190 # 240秒冷却期 cooldown = 190 # 190秒冷却期
MethodExecutor.record("info", "mainloop", "Cooling down #{cooldown}s for server startup...") MethodExecutor.record("info", "mainloop", "Cooling down #{cooldown}s for server startup...")
sleep cooldown sleep cooldown
MethodExecutor.record("info", "mainloop", "Cooldown finished, resuming monitoring.") MethodExecutor.record("info", "mainloop", "Cooldown finished, resuming monitoring.")