mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
update awx collection wait interval to 2
This commit is contained in:
committed by
Sean Sullivan
parent
35529b5eeb
commit
df649e2c56
@@ -994,7 +994,7 @@ class ControllerAPIModule(ControllerModule):
|
||||
else:
|
||||
return True
|
||||
|
||||
def wait_on_url(self, url, object_name, object_type, timeout=30, interval=10):
|
||||
def wait_on_url(self, url, object_name, object_type, timeout=30, interval=2):
|
||||
# Grab our start time to compare against for the timeout
|
||||
start = time.time()
|
||||
result = self.get_endpoint(url)
|
||||
@@ -1034,7 +1034,7 @@ class ControllerAPIModule(ControllerModule):
|
||||
for k in ('id', 'status', 'elapsed', 'started', 'finished'):
|
||||
self.json_output[k] = response['json'].get(k)
|
||||
|
||||
def wait_on_workflow_node_url(self, url, object_name, object_type, timeout=30, interval=10, **kwargs):
|
||||
def wait_on_workflow_node_url(self, url, object_name, object_type, timeout=30, interval=2, **kwargs):
|
||||
# Grab our start time to compare against for the timeout
|
||||
start = time.time()
|
||||
result = self.get_endpoint(url, **kwargs)
|
||||
|
||||
Reference in New Issue
Block a user