diff options
| author | Gordon Sim <gsim@apache.org> | 2011-03-02 13:15:05 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2011-03-02 13:15:05 +0000 |
| commit | c62fdfce7d0714c180a73cdc697d1e3d5d72de33 (patch) | |
| tree | 1130c07ff9e8e6d7213965d9366e46b49921dad7 /cpp | |
| parent | 2e905e12f31e7698d85b89344eb37de277551884 (diff) | |
| download | qpid-python-c62fdfce7d0714c180a73cdc697d1e3d5d72de33.tar.gz | |
QPID-3100: reduce number of initial buffers created per connection
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1076205 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
| -rw-r--r-- | cpp/src/qpid/client/TCPConnector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/TCPConnector.cpp b/cpp/src/qpid/client/TCPConnector.cpp index e284d57bec..d90781b365 100644 --- a/cpp/src/qpid/client/TCPConnector.cpp +++ b/cpp/src/qpid/client/TCPConnector.cpp @@ -117,7 +117,7 @@ void TCPConnector::connected(const Socket&) { void TCPConnector::start(sys::AsynchIO* aio_) { aio = aio_; - for (int i = 0; i < 32; i++) { + for (int i = 0; i < 4; i++) { aio->queueReadBuffer(new Buff(maxFrameSize)); } |
