mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
use proper chunk size limit option
This commit is contained in:
parent
41bbf320bb
commit
eb4ad2546f
|
@ -42,7 +42,7 @@ func newFileHandle(file *File, uid, gid uint32) *FileHandle {
|
|||
fh := &FileHandle{
|
||||
f: file,
|
||||
// dirtyPages: newContinuousDirtyPages(file, writeOnly),
|
||||
dirtyPages: newPageWriter(file, 2*1024*1024),
|
||||
dirtyPages: newPageWriter(file, file.wfs.option.ChunkSizeLimit),
|
||||
Uid: uid,
|
||||
Gid: gid,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue