Commit cec9c8a2c9c3bf370bde0d5a9e8d731ed324df5b

Stefan Sperling 2018-09-15T20:18:32

bump tree cache size; some operations are doing lots of tree walks

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/object_cache.c b/lib/object_cache.c
index 086dccc..1e3d2dc 100644
--- a/lib/object_cache.c
+++ b/lib/object_cache.c
@@ -33,7 +33,7 @@
 #include "got_lib_object_cache.h"
 
 #define GOT_OBJECT_CACHE_SIZE_OBJ	1024
-#define GOT_OBJECT_CACHE_SIZE_TREE	128
+#define GOT_OBJECT_CACHE_SIZE_TREE	2048
 #define GOT_OBJECT_CACHE_SIZE_COMMIT	512
 
 const struct got_error *