From 3d0c3315ebd34b8cc0faf3a65ddcf95bed0202d1 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 17 Aug 2021 08:34:21 -0400 Subject: [PATCH] add term and comment caches, adjust limits --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 1790b1d..b1589ab 100644 --- a/main.go +++ b/main.go @@ -170,11 +170,11 @@ func main() { var TC MetadataCache TC.objects = make(map[int64]metadataObject) TC.sizeLimit = 5000 - TC.objectType = "p" + TC.objectType = "t" var CC MetadataCache CC.objects = make(map[int64]metadataObject) CC.sizeLimit = 100 - CC.objectType = "p" + CC.objectType = "c" if err := os.RemoveAll(*sockpath); err != nil { log.Fatal(err)