Commit 964d3c5bf3328f4a856b9ad185a68298720e5404

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

increase delta cache size for 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 6d6289b..3a91c76 100644
--- a/libexec/got-index-pack/got-index-pack.c
+++ b/libexec/got-index-pack/got-index-pack.c
@@ -808,7 +808,7 @@ main(int argc, char **argv)
 
 	memset(&pack, 0, sizeof(pack));
 	pack.fd = -1;
-	pack.delta_cache = got_delta_cache_alloc(100,
+	pack.delta_cache = got_delta_cache_alloc(1000,
 	    GOT_DELTA_RESULT_SIZE_CACHED_MAX);
 	if (pack.delta_cache == NULL) {
 		err = got_error_from_errno("got_delta_cache_alloc");