From 55d547afecda9fc8ea7a142993798f96d0678e9e Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 10 May 2021 13:50:10 -0700 Subject: [PATCH] switch back to in memory uploading for now --- weed/filesys/filehandle.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weed/filesys/filehandle.go b/weed/filesys/filehandle.go index abdab2b5e..1245cce71 100644 --- a/weed/filesys/filehandle.go +++ b/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, }