From 42ae3bba9bcb4a68029850e7e1fa4fb9867621cc Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Wed, 25 Nov 2020 23:41:49 +0000 Subject: [PATCH] increase timeout for software list --- api/tacticalrmm/software/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/tacticalrmm/software/tasks.py b/api/tacticalrmm/software/tasks.py index 36ba761c..d3faf3c7 100644 --- a/api/tacticalrmm/software/tasks.py +++ b/api/tacticalrmm/software/tasks.py @@ -94,7 +94,7 @@ def get_installed_software(pk): logger.error(f"{agent.salt_id} software list only available in agent >= 1.1.0") return - r = asyncio.run(agent.nats_cmd({"func": "softwarelist"}, timeout=15)) + r = asyncio.run(agent.nats_cmd({"func": "softwarelist"}, timeout=20)) if r == "timeout" or r == "natsdown": logger.error(f"{agent.salt_id} {r}") return