git/*: reduce object cache size

the cache is too big; it doesn't measurably improve
performance for most uses, and will run out of memory
on smaller machines. 128 megs ought to be enough for
everybody.
This commit is contained in:
Ori Bernstein 2023-10-18 20:48:38 +00:00
parent a99b016643
commit 22cf5562fa

View file

@ -66,7 +66,7 @@ Objset objcache;
Object *lruhead;
Object *lrutail;
vlong ncache;
vlong cachemax = 1024*MiB;
vlong cachemax = 128*MiB;
Packf *packf;
int npackf;
int openpacks;