fix: revert anti-idle interval to 30s (3min caused Red OS to lock)
This commit is contained in:
@@ -90,7 +90,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(180)
|
time.sleep(30)
|
||||||
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:
|
||||||
|
|||||||
Reference in New Issue
Block a user