Commit f6912001afdce535562e17bdaec333daedc2c2c3

Stefan Sperling 2019-05-15T06:51:55

spawn more pack file helpers again now that leaks got fixed /usr/src updates have become slower for some reason and my best guess is that caching of packed data has become less effective with df613bb4d8662c28a9888714a80ca572bff9d924 (leaks were subsequently fixed by 2cb49fa8fb84f3a8fc2eb6036a6bd9b64c57e347 and by 0dd5271bd8f2a4f92ac3536fcc493eebc39b86e5)

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/got_lib_repository.h b/lib/got_lib_repository.h
index 4e540ef..4379222 100644
--- a/lib/got_lib_repository.h
+++ b/lib/got_lib_repository.h
@@ -14,7 +14,7 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-#define GOT_PACKIDX_CACHE_SIZE	4
+#define GOT_PACKIDX_CACHE_SIZE	16
 #define GOT_PACK_CACHE_SIZE	GOT_PACKIDX_CACHE_SIZE
 
 struct got_repository {