2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-09 13:05:49 +00:00

Increasing time again, outlet count didn't factor

This commit is contained in:
Jarrod Johnson 2023-08-02 15:20:29 -04:00
parent bf10e58f00
commit 89bd798f8b

View File

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