Increased the default preallocation size for higher out of the box throughput

This commit is contained in:
Trustin Lee 2010-02-18 02:47:09 +00:00
parent 3e21c7a755
commit 3b0d843e59

View File

@ -40,7 +40,7 @@ final class DirectBufferPool {
0); 0);
if (val <= 0) { if (val <= 0) {
val = 128 * 1024; val = 1048576;
} else { } else {
logger.debug( logger.debug(
"Setting the preallocated buffer capacity to: " + val); "Setting the preallocated buffer capacity to: " + val);