1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Don't use the connection timeout for the select poll timeout

This commit is contained in:
James Cammarata 2015-09-23 11:13:12 -04:00
parent 713809b62d
commit 2898e000a0

View file

@ -444,7 +444,7 @@ class Connection(ConnectionBase):
state += 1
while True:
rfd, wfd, efd = select.select(rpipes, [], rpipes, timeout)
rfd, wfd, efd = select.select(rpipes, [], rpipes, 0.1)
# We pay attention to timeouts only while negotiating a prompt.