fix: change anti-idle interval from 30s to 3min

This commit is contained in:
2026-05-04 06:20:55 +00:00
parent 359a0c7636
commit b838c814ba
+1 -1
View File
@@ -75,7 +75,7 @@ def _anti_idle_loop():
env = {**os.environ, "DISPLAY": DISPLAY} env = {**os.environ, "DISPLAY": DISPLAY}
toggle = False toggle = False
while True: while True:
time.sleep(30) time.sleep(180)
with _lock: with _lock:
active = _should_be_connected and _proc is not None and _proc.poll() is None active = _should_be_connected and _proc is not None and _proc.poll() is None
if not active: if not active: