diff options
| author | Pavel Moravec <pmoravec@apache.org> | 2014-06-12 16:27:19 +0000 |
|---|---|---|
| committer | Pavel Moravec <pmoravec@apache.org> | 2014-06-12 16:27:19 +0000 |
| commit | f53221baf7d0622572eac06c36fae866dd6b20d6 (patch) | |
| tree | f38c6e73263c5bf509c55b67a6b01c0d00c66776 /qpid/python | |
| parent | 36f8cf2bd9f49e209cba6b78d7e06a05e670db07 (diff) | |
| download | qpid-python-f53221baf7d0622572eac06c36fae866dd6b20d6.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@1602221 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python')
| -rw-r--r-- | qpid/python/qpid/messaging/endpoints.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/python/qpid/messaging/endpoints.py b/qpid/python/qpid/messaging/endpoints.py index e69d7a10ae..58349deb69 100644 --- a/qpid/python/qpid/messaging/endpoints.py +++ b/qpid/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() |
