diff options
author | Gordon Sim <gsim@apache.org> | 2008-06-02 21:06:36 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2008-06-02 21:06:36 +0000 |
commit | a4bfd13cf405805b71644959ecd0526e1aeae0f9 (patch) | |
tree | 86210153a150d6479f774731d8b49f8149d4e5ad /cpp/src/qpid/client/SessionImpl.cpp | |
parent | 6c5f69a0e6e62fc220f3b4198dad1f202552e2ad (diff) | |
download | qpid-python-a4bfd13cf405805b71644959ecd0526e1aeae0f9.tar.gz |
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
Diffstat (limited to 'cpp/src/qpid/client/SessionImpl.cpp')
-rw-r--r-- | cpp/src/qpid/client/SessionImpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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*/) |