Increase stream copy buffer size to 64K.

fork-5.53.8
Alan Evans 2020-12-09 16:29:08 -04:00
rodzic a8dd81eace
commit 93e9de3932
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -78,7 +78,7 @@ public final class StreamUtil {
}
public static long copy(InputStream in, OutputStream out) throws IOException {
byte[] buffer = new byte[8192];
byte[] buffer = new byte[64 * 1024];
int read;
long total = 0;