mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
adjust logs
This commit is contained in:
parent
fe01191b5b
commit
99d05f758c
|
@ -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)
|
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{
|
opts := &opt.Options{
|
||||||
BlockCacheCapacity: 2 * 1024 * 1024, // default value is 8MiB
|
BlockCacheCapacity: 2 * 1024 * 1024, // default value is 8MiB
|
||||||
WriteBuffer: 1 * 1024 * 1024, // default value is 4MiB
|
WriteBuffer: 1 * 1024 * 1024, // default value is 4MiB
|
||||||
|
|
Loading…
Reference in a new issue