Commit 9185b86391a5c4ff9989ab6755b815050869848c

Stefan Sperling 2018-11-05T16:30:04

tree cache size can be reduced without harmful effects

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 b38c757..8957a46 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	256
-#define GOT_OBJECT_CACHE_SIZE_TREE	2048
+#define GOT_OBJECT_CACHE_SIZE_TREE	256
 #define GOT_OBJECT_CACHE_SIZE_COMMIT	64
 
 const struct got_error *