Author: astitcher
Date: Thu Jun 12 22:00:10 2014
New Revision: 1602302
URL: http://svn.apache.org/r1602302
Log:
Revert "QPID-5812: python high level API client receiver.fetch(timeout=N)
blocks forever in select() if broker is stopped (kill -STOP)"
This reverts commit r1602221 As it breaks the C++ tests:
- python_tests
- federation_sys_tests
- legacystore_python_tests
Modified:
qpid/trunk/qpid/python/qpid/messaging/endpoints.py
Modified: qpid/trunk/qpid/python/qpid/messaging/endpoints.py
URL:
http://svn.apache.org/viewvc/qpid/trunk/qpid/python/qpid/messaging/endpoints.py?rev=1602302&r1=1602301&r2=1602302&view=diff
==============================================================================
--- qpid/trunk/qpid/python/qpid/messaging/endpoints.py (original)
+++ qpid/trunk/qpid/python/qpid/messaging/endpoints.py Thu Jun 12 22:00:10 2014
@@ -1039,7 +1039,7 @@ class Receiver(Endpoint, object):
self.check_closed()
self.draining = True
self._wakeup()
- self._ecwait(lambda: not self.draining, timeout=0)
+ self._ecwait(lambda: not self.draining)
msg = self.session._get(self, timeout=0)
self._grant()
self._wakeup()
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]