##// END OF EJS Templates
fix logic for infinite wait cutoff when waiting for outputs after receiving result
MinRK -
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 not None and timeout < 0:
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