Browse Source

re-ordering

pull/4762/head
chrislu 1 year ago
parent
commit
f5c4b642bb
  1. 2
      weed/mount/weedfs.go

2
weed/mount/weedfs.go

@ -106,8 +106,8 @@ func NewSeaweedFileSystem(option *Option) *WFS {
})
grace.OnInterrupt(func() {
wfs.metaCache.Shutdown()
os.RemoveAll(option.getUniqueCacheDirForRead())
os.RemoveAll(option.getUniqueCacheDirForWrite())
os.RemoveAll(option.getUniqueCacheDirForRead())
})
if wfs.option.ConcurrentWriters > 0 {

Loading…
Cancel
Save