summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@apache.org>2014-06-12 16:27:19 +0000
committerPavel Moravec <pmoravec@apache.org>2014-06-12 16:27:19 +0000
commitc34dcc002e0774979f8f8dc2b461f6b6631b252a (patch)
treec305582ffd1c68a7fe7d886be3b7e78e6625980e /python
parent112b43386e39a2f2e48c046d33da0306db7db062 (diff)
downloadqpid-python-c34dcc002e0774979f8f8dc2b461f6b6631b252a.tar.gz
QPID-5812: python high level API client receiver.fetch(timeout=N) blocks forever in select() if broker is stopped (kill -STOP)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1602221 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python')
-rw-r--r--python/qpid/messaging/endpoints.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/qpid/messaging/endpoints.py b/python/qpid/messaging/endpoints.py
index e69d7a10ae..58349deb69 100644
--- a/python/qpid/messaging/endpoints.py
+++ b/python/qpid/messaging/endpoints.py
@@ -1039,7 +1039,7 @@ class Receiver(Endpoint, object):
self.check_closed()
self.draining = True
self._wakeup()
- self._ecwait(lambda: not self.draining)
+ self._ecwait(lambda: not self.draining, timeout=0)
msg = self.session._get(self, timeout=0)
self._grant()
self._wakeup()