Skip to content

Commit

Permalink
Fix timeout issue in ansible-connection (ansible#24556)
Browse files Browse the repository at this point in the history
Fixes ansible#24520 ansible-connection needs
to wait on timeout value of play-context
instead of ssh default timeout
  • Loading branch information
ganeshrn authored May 13, 2017
1 parent 19e7abb commit 5ec7f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ansible-connection
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ class Server():
if not data:
break

signal.alarm(C.DEFAULT_TIMEOUT)
signal.alarm(self.play_context.timeout)

rc = 255
try:
Expand Down

0 comments on commit 5ec7f40

Please sign in to comment.