add term and comment caches, adjust limits
This commit is contained in:
parent
45368491d7
commit
3d0c3315eb
4
main.go
4
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)
|
||||
|
|
Loading…
Reference in New Issue