increase timeout for software list

This commit is contained in:
wh1te909 2020-11-25 23:41:49 +00:00
parent 824bcc5603
commit 42ae3bba9b
1 changed files with 1 additions and 1 deletions

View File

@ -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