mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 09:51:09 +03:00
Remove unneeded maxread
searchwindowsize was the important bit here
This commit is contained in:
parent
980fb5bf74
commit
162f0b81d1
@ -575,7 +575,7 @@ class BaseTask(Task):
|
||||
instance = self.update_model(instance.pk, status='running',
|
||||
output_replacements=output_replacements)
|
||||
while child.isalive():
|
||||
result_id = child.expect(expect_list, timeout=pexpect_timeout, maxread=100, searchwindowsize=100)
|
||||
result_id = child.expect(expect_list, timeout=pexpect_timeout, searchwindowsize=100)
|
||||
if result_id in expect_passwords:
|
||||
child.sendline(expect_passwords[result_id])
|
||||
if logfile_pos != logfile.tell():
|
||||
|
Loading…
Reference in New Issue
Block a user