From c62fdfce7d0714c180a73cdc697d1e3d5d72de33 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Wed, 2 Mar 2011 13:15:05 +0000 Subject: 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 --- cpp/src/qpid/client/TCPConnector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp') 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)); } -- cgit v1.2.1