Commit 18d4da03731dbe5620fbb8f4e37cffaa4d992f74

Stefan Sperling 2020-03-18T16:13:46

tweak delta cache size in got-index-pack

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/libexec/got-index-pack/got-index-pack.c b/libexec/got-index-pack/got-index-pack.c
index 9ebc198..cbeb792 100644
--- a/libexec/got-index-pack/got-index-pack.c
+++ b/libexec/got-index-pack/got-index-pack.c
@@ -875,7 +875,7 @@ main(int argc, char **argv)
 
 	memset(&pack, 0, sizeof(pack));
 	pack.fd = -1;
-	pack.delta_cache = got_delta_cache_alloc(1000,
+	pack.delta_cache = got_delta_cache_alloc(500,
 	    GOT_DELTA_RESULT_SIZE_CACHED_MAX);
 	if (pack.delta_cache == NULL) {
 		err = got_error_from_errno("got_delta_cache_alloc");