commit f73df793baa4ec89bcbfb0fddb9765c4187defc8 from: Stefan Sperling date: Tue Jan 07 21:02:16 2020 UTC increase tag cache size; makes tog more responsive when many tags exist commit - e1a68182da13b954790863084cfae4ab655e2bff commit + f73df793baa4ec89bcbfb0fddb9765c4187defc8 blob - 6cfe44e0b3d1b503d56482d4e12f0081339d7d6c blob + adc0e664003a4f5feb61676517c02a3063685c16 --- lib/object_cache.c +++ lib/object_cache.c @@ -41,7 +41,7 @@ #define GOT_OBJECT_CACHE_SIZE_OBJ 256 #define GOT_OBJECT_CACHE_SIZE_TREE 256 #define GOT_OBJECT_CACHE_SIZE_COMMIT 64 -#define GOT_OBJECT_CACHE_SIZE_TAG 32 +#define GOT_OBJECT_CACHE_SIZE_TAG 2048 #define GOT_OBJECT_CACHE_MAX_ELEM_SIZE 1048576 /* 1 MB */ const struct got_error *