Browse Source

use proper chunk size limit option

pull/2539/head
chrislu 3 years ago
parent
commit
eb4ad2546f
  1. 2
      weed/filesys/filehandle.go

2
weed/filesys/filehandle.go

@ -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…
Cancel
Save