refactor: 提取检测间隔为 CHECK_INTERVAL 常量

This commit is contained in:
2026-06-08 10:37:12 +08:00
parent e421c43a40
commit b43527c52e
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ end
def main_loop
while true
sleep 1.5
sleep CHECK_INTERVAL
SystemdNotifier.notify("WATCHDOG=1")
main_once
end