filer: cache small file to filer store
This commit is contained in:
@@ -40,6 +40,10 @@ func (fc *FilerConf) loadFromFiler(filer *Filer) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
if len(entry.Content) > 0 {
|
||||
return fc.LoadFromBytes(entry.Content)
|
||||
}
|
||||
|
||||
return fc.loadFromChunks(filer, entry.Chunks)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user