fix: change anti-idle interval from 30s to 3min
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user