From 89bd798f8ba6babda4359db5ee59f27f99efc8ef Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 2 Aug 2023 15:20:29 -0400 Subject: [PATCH] Increasing time again, outlet count didn't factor --- .../confluent/plugins/hardwaremanagement/deltapdu.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/confluent_server/confluent/plugins/hardwaremanagement/deltapdu.py b/confluent_server/confluent/plugins/hardwaremanagement/deltapdu.py index 220945b7..300bcba3 100644 --- a/confluent_server/confluent/plugins/hardwaremanagement/deltapdu.py +++ b/confluent_server/confluent/plugins/hardwaremanagement/deltapdu.py @@ -199,12 +199,11 @@ def update(nodes, element, configmanager, inputdata): if 'outlets' not in element: yield msg.ConfluentResourceUnavailable(node, 'Not implemented') return - timeout = 1 + timeout = 4 for node in nodes: gc = PDUClient(node, configmanager) newstate = inputdata.powerstate(node) gc.set_outlet(element[-1], newstate) - timeout += 1 gc.logout() eventlet.sleep(timeout) for res in retrieve(nodes, element, configmanager, inputdata):