Show More
@@ -166,7 +166,8 b' class AsyncResult(object):' | |||||
166 | else: |
|
166 | else: | |
167 | self._success = True |
|
167 | self._success = True | |
168 | finally: |
|
168 | finally: | |
169 |
if timeout is |
|
169 | if timeout is None or timeout < 0: | |
|
170 | # cutoff infinite wait at 10s | |||
170 | timeout = 10 |
|
171 | timeout = 10 | |
171 | self._wait_for_outputs(timeout) |
|
172 | self._wait_for_outputs(timeout) | |
172 |
|
173 |
General Comments 0
You need to be logged in to leave comments.
Login now