mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-04-05 20:52:50 +08:00
use 2MB chunk size. cache size is the wrong option
This commit is contained in:
parent
982ea85d81
commit
41bbf320bb
@ -42,7 +42,7 @@ func newFileHandle(file *File, uid, gid uint32) *FileHandle {
|
||||
fh := &FileHandle{
|
||||
f: file,
|
||||
// dirtyPages: newContinuousDirtyPages(file, writeOnly),
|
||||
dirtyPages: newPageWriter(file, file.wfs.option.CacheSizeMB*1024*1024),
|
||||
dirtyPages: newPageWriter(file, 2*1024*1024),
|
||||
Uid: uid,
|
||||
Gid: gid,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user