increase timeout for software list
This commit is contained in:
parent
824bcc5603
commit
42ae3bba9b
|
@ -94,7 +94,7 @@ def get_installed_software(pk):
|
||||||
logger.error(f"{agent.salt_id} software list only available in agent >= 1.1.0")
|
logger.error(f"{agent.salt_id} software list only available in agent >= 1.1.0")
|
||||||
return
|
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":
|
if r == "timeout" or r == "natsdown":
|
||||||
logger.error(f"{agent.salt_id} {r}")
|
logger.error(f"{agent.salt_id} {r}")
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue