Browse Source

switch back to in memory uploading for now

pull/2063/head
Chris Lu 4 years ago
parent
commit
55d547afec
  1. 4
      weed/filesys/filehandle.go

4
weed/filesys/filehandle.go

@ -38,8 +38,8 @@ type FileHandle struct {
func newFileHandle(file *File, uid, gid uint32, writeOnly bool) *FileHandle {
fh := &FileHandle{
f: file,
// dirtyPages: newContinuousDirtyPages(file, writeOnly),
dirtyPages: newTempFileDirtyPages(file, writeOnly),
dirtyPages: newContinuousDirtyPages(file, writeOnly),
/// dirtyPages: newTempFileDirtyPages(file, writeOnly),
Uid: uid,
Gid: gid,
}

Loading…
Cancel
Save