-
-
Save tobert/10c307cf3709a585a7cf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/java/org/apache/cassandra/io/util/RandomAccessReader.java b/src/java/org/apache/cassandra/io/util/RandomAccessReader.java | |
index 95877a2..83c6d01 100644 | |
--- a/src/java/org/apache/cassandra/io/util/RandomAccessReader.java | |
+++ b/src/java/org/apache/cassandra/io/util/RandomAccessReader.java | |
@@ -29,8 +29,8 @@ public class RandomAccessReader extends RandomAccessFile implements FileDataInpu | |
{ | |
public static final long CACHE_FLUSH_INTERVAL_IN_BYTES = (long) Math.pow(2, 27); // 128mb | |
- // default buffer size, 64Kb | |
- public static final int DEFAULT_BUFFER_SIZE = 65536; | |
+ // default buffer size, 4Kb | |
+ public static final int DEFAULT_BUFFER_SIZE = 4096; | |
// absolute filesystem path to the file | |
private final String filePath; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment