diff options
| author | Rafael H. Schloming <rhs@apache.org> | 2007-09-27 18:57:22 +0000 |
|---|---|---|
| committer | Rafael H. Schloming <rhs@apache.org> | 2007-09-27 18:57:22 +0000 |
| commit | 97218597faf441586934f8278faaedb0054a7fa8 (patch) | |
| tree | 57a32b1cc69383433b7a3e7fa1f43ff34ab2da2c /qpid/python | |
| parent | 2905b744f1066751e0c05178da475ff4da13440d (diff) | |
| download | qpid-python-97218597faf441586934f8278faaedb0054a7fa8.tar.gz | |
issue execution_sync rather than execution_flush prior to waiting for completion
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@580123 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python')
| -rw-r--r-- | qpid/python/qpid/peer.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qpid/python/qpid/peer.py b/qpid/python/qpid/peer.py index 68e1883692..5c05e71cf1 100644 --- a/qpid/python/qpid/peer.py +++ b/qpid/python/qpid/peer.py @@ -281,7 +281,7 @@ class Channel: self.request(frame, self.queue_response, content) if not frame.method.responses: if self.use_execution_layer and frame.method_type.is_l4_command(): - self.execution_flush() + self.execution_sync() self.completion.wait() if self.closed: raise Closed(self.reason) @@ -335,12 +335,12 @@ class Channel: return future elif self.synchronous and not frame.method.response \ and self.use_execution_layer and frame.method.is_l4_command(): - self.execution_flush() + self.execution_sync() completed = self.completion.wait(timeout=10) if self.closed: raise Closed(self.reason) if not completed: - self.close("Timed-out waiting for completion") + self.close("Timed-out waiting for completion of %s" % frame) except QueueClosed, e: if self.closed: raise Closed(self.reason) |
