From ba970f585a1e9c188390e620ddcea02ea39e2211 Mon Sep 17 00:00:00 2001 From: Daan Selen Date: Thu, 16 Jan 2025 16:12:04 +0100 Subject: [PATCH] Increased timeout for certain actions like updating etc. --- meshbook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshbook.py b/meshbook.py index ed232e7..c2f9fc5 100644 --- a/meshbook.py +++ b/meshbook.py @@ -121,7 +121,7 @@ async def execute_playbook(session: meshctrl.Session, targets: dict, playbook: d round = 1 for task in playbook["tasks"]: output_text(("\033[1m\033[92m" + str(round) + ". Running: " + task["name"] + "\033[0m"), False) - response = await session.run_command(nodeids=targets, command=task["command"], ignore_output=False, timeout=300) + response = await session.run_command(nodeids=targets, command=task["command"], ignore_output=False, timeout=900) task_batch = [] for device in response: