mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
increase default buffer size in BufferedInputStream
The previous value of 32 bytes did not perform well. This increases it to 4096 bytes, which matches BufferedOutputStream.
This commit is contained in:
parent
3686d2131d
commit
9a056da2f7
@ -22,7 +22,7 @@ public class BufferedInputStream extends InputStream {
|
||||
}
|
||||
|
||||
public BufferedInputStream(InputStream in) {
|
||||
this(in, 32);
|
||||
this(in, 4096);
|
||||
}
|
||||
|
||||
private void fill() throws IOException {
|
||||
|
Loading…
Reference in New Issue
Block a user