mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 22:30:22 -07:00
Don't use the connection timeout for the select poll timeout
This commit is contained in:
parent
713809b62d
commit
2898e000a0
1 changed files with 1 additions and 1 deletions
|
@ -444,7 +444,7 @@ class Connection(ConnectionBase):
|
||||||
state += 1
|
state += 1
|
||||||
|
|
||||||
while True:
|
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.
|
# We pay attention to timeouts only while negotiating a prompt.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue