move file reader, entryViewCache to file handle
reduce file object size
This commit is contained in:
@@ -111,7 +111,7 @@ func NewSeaweedFileSystem(option *Option) *WFS {
|
||||
if err := wfs.Server.InvalidateNodeData(file); err != nil {
|
||||
glog.V(4).Infof("InvalidateNodeData %s : %v", filePath, err)
|
||||
}
|
||||
file.clearEntry()
|
||||
file.entry = nil
|
||||
}
|
||||
}
|
||||
dir, name := filePath.DirAndName()
|
||||
|
||||
Reference in New Issue
Block a user