Commit c07357ee authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Renamed system property that indicates if heap or direct buffers should be used.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/branches@7555 b35dd754-fafc-0310-a699-88a17e54d16e
parent e429bef5
......@@ -424,7 +424,7 @@ public class ConnectionManagerImpl extends BasicModule implements ConnectionMana
sessionManager = server.getSessionManager();
// Check if we need to configure MINA to use Direct or Heap Buffers
// Note: It has been reported that heap buffers are 50% faster than direct buffers
if (!JiveGlobals.getBooleanProperty("xmpp.socket.directBuffer", false)) {
if (JiveGlobals.getBooleanProperty("xmpp.socket.heapBuffer", true)) {
ByteBuffer.setUseDirectBuffers(false);
ByteBuffer.setAllocator(new SimpleByteBufferAllocator());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment