Cleaning up bugs related to perf improvement changes

pull/13012/merge
James Cammarata 9 years ago
parent f10022dbd2
commit 1027abd596

@ -96,7 +96,7 @@ class TaskQueueManager:
self._workers = []
def _initialize_workers(self, num):
for i in xrange(num_workers):
for i in xrange(num):
main_q = multiprocessing.Queue()
rslt_q = multiprocessing.Queue()

@ -83,10 +83,7 @@ class AnsibleJ2Vars:
if isinstance(variable, dict) and varname == "vars" or isinstance(variable, HostVars):
return variable
else:
if self._templar._contains_vars(variable):
return self._templar.template(variable)
else:
return variable
return self._templar.template(variable)
def add_locals(self, locals):
'''

Loading…
Cancel
Save