mirror of https://github.com/apache/activemq.git
increase default buffer size - to accomadate average message size - which is usually 1024
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@513626 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4e2acd4a77
commit
2241f2064f
|
@ -31,7 +31,7 @@ public class ByteArrayOutputStream extends OutputStream {
|
|||
int size;
|
||||
|
||||
public ByteArrayOutputStream() {
|
||||
this(512);
|
||||
this(1028);
|
||||
}
|
||||
public ByteArrayOutputStream(int capacity) {
|
||||
buffer = new byte[capacity];
|
||||
|
|
Loading…
Reference in New Issue