From a4bfd13cf405805b71644959ecd0526e1aeae0f9 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Mon, 2 Jun 2008 21:06:36 +0000 Subject: Improve performance of synchronous publication by not requesting known-completed response for every completed sent. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@662561 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/client/SessionImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/client/SessionImpl.cpp') diff --git a/cpp/src/qpid/client/SessionImpl.cpp b/cpp/src/qpid/client/SessionImpl.cpp index 58f4bc0aa7..66e1b9e40f 100644 --- a/cpp/src/qpid/client/SessionImpl.cpp +++ b/cpp/src/qpid/client/SessionImpl.cpp @@ -535,7 +535,7 @@ void SessionImpl::sendFlush() void SessionImpl::sendCompletionImpl() { - proxy.completed(completedIn, true); + proxy.completed(completedIn, completedIn.span() > 1000); } void SessionImpl::gap(const framing::SequenceSet& /*commands*/) -- cgit v1.2.1