From 3321f373ed0d8d9c66b914ce5be1c967d4c13f7b Mon Sep 17 00:00:00 2001 From: Ryan Amari Date: Fri, 16 Aug 2024 08:15:03 -0400 Subject: [PATCH] ALS-6511: Revert uneccesary changes --- .../hms/dbmi/avillach/hpds/processing/ResultStoreStream.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/processing/src/main/java/edu/harvard/hms/dbmi/avillach/hpds/processing/ResultStoreStream.java b/processing/src/main/java/edu/harvard/hms/dbmi/avillach/hpds/processing/ResultStoreStream.java index af8eb65b..d0ffc2f7 100644 --- a/processing/src/main/java/edu/harvard/hms/dbmi/avillach/hpds/processing/ResultStoreStream.java +++ b/processing/src/main/java/edu/harvard/hms/dbmi/avillach/hpds/processing/ResultStoreStream.java @@ -84,7 +84,7 @@ public void close() { public void open() { try { - in = new FileInputStream(writer.getFile().getAbsolutePath()); + in = new BufferedInputStream(new FileInputStream(writer.getFile().getAbsolutePath()), 1024 * 1024 * 8); streamIsClosed = false; } catch (FileNotFoundException e) { throw new RuntimeException("temp file for result not found : " + writer.getFile().getAbsolutePath());