From 3a0fc215d71f8d249bf9feb5dacfb1b582d9a217 Mon Sep 17 00:00:00 2001 From: DaanSelen Date: Mon, 17 Nov 2025 09:01:16 +0100 Subject: [PATCH] fix: increase default timeout --- modules/executor.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/executor.py b/modules/executor.py index c964895..63da539 100644 --- a/modules/executor.py +++ b/modules/executor.py @@ -16,7 +16,7 @@ class executor: ''' Actual function that handles meshbook execution, also responsible for formatting the resulting JSON. ''' - + responses_list = {} targets = compiled_device_list["target_list"] offline = compiled_device_list["offline_list"] @@ -27,9 +27,9 @@ class executor: console.text_color.green + str(round) + ". Running: " + task["name"]) if "powershell" in meshbook and meshbook["powershell"]: - response = await session.run_command(nodeids=targets, command=task["command"],powershell=True,ignore_output=False,timeout=900) + response = await session.run_command(nodeids=targets, command=task["command"],powershell=True,ignore_output=False,timeout=1800) else: - response = await session.run_command(nodeids=targets, command=task["command"],powershell=False,ignore_output=False,timeout=900) + response = await session.run_command(nodeids=targets, command=task["command"],powershell=False,ignore_output=False,timeout=1800) task_batch = [] for device in response: