Skip to content

Commit

Permalink
Increase the buffer size from 1024 to 4096
Browse files Browse the repository at this point in the history
  • Loading branch information
marcomirisola-ett committed Apr 16, 2018
1 parent 3c1f600 commit 8b2d453
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public static List<String> splitSqlScript(String script, char delim) {
}

public static void writeExtractedFileToDisk(InputStream in, OutputStream outs) throws IOException {
byte[] buffer = new byte[1024];
byte[] buffer = new byte[4096];
int length;
while ((length = in.read(buffer))>0){
outs.write(buffer, 0, length);
Expand Down

0 comments on commit 8b2d453

Please sign in to comment.