Browse Source

adjust logs

pull/1427/head
Chris Lu 4 years ago
parent
commit
99d05f758c
  1. 2
      weed/util/chunk_cache/chunk_cache_on_disk.go

2
weed/util/chunk_cache/chunk_cache_on_disk.go

@ -63,7 +63,7 @@ func LoadOrCreateChunkCacheVolume(fileName string, preallocate int64) (*ChunkCac
return nil, fmt.Errorf("cannot write cache index %s.idx: %v", v.fileName, err)
}
glog.V(0).Infoln("loading leveldb", v.fileName+".ldb")
glog.V(1).Infoln("loading leveldb", v.fileName+".ldb")
opts := &opt.Options{
BlockCacheCapacity: 2 * 1024 * 1024, // default value is 8MiB
WriteBuffer: 1 * 1024 * 1024, // default value is 4MiB

Loading…
Cancel
Save