summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ Wyman <jeremy.wyman@microsoft.com>2015-05-07 08:50:12 -0700
committerJ Wyman <jeremy.wyman@microsoft.com>2015-05-07 08:50:12 -0700
commit7eb7e03db81e9356e897235668e4d19bea548f9c (patch)
treee312d50407b99f7ca51930b56958459f8d42a4fa
parentd969d41547080d5e924d49f44ba5de1ade5b343c (diff)
downloadlibgit2-7eb7e03db81e9356e897235668e4d19bea548f9c.tar.gz
Adjusting stream buffer size to 64KB
64K is optimal buffer size per https://technet.microsoft.com/en-us/library/cc938632.aspx
-rw-r--r--src/filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filter.c b/src/filter.c
index 8bd7f4d07..a38a54a03 100644
--- a/src/filter.c
+++ b/src/filter.c
@@ -875,7 +875,7 @@ void stream_list_free(git_vector *streams)
git_vector_free(streams);
}
-#define STREAM_BUFSIZE 10240
+#define STREAM_BUFSIZE 65536
int git_filter_list_stream_file(
git_filter_list *filters,