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:
parent
bf10e58f00
commit
89bd798f8b
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user