mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-23 05:13:35 +08:00
re-ordering
This commit is contained in:
@@ -106,8 +106,8 @@ func NewSeaweedFileSystem(option *Option) *WFS {
|
|||||||
})
|
})
|
||||||
grace.OnInterrupt(func() {
|
grace.OnInterrupt(func() {
|
||||||
wfs.metaCache.Shutdown()
|
wfs.metaCache.Shutdown()
|
||||||
os.RemoveAll(option.getUniqueCacheDirForRead())
|
|
||||||
os.RemoveAll(option.getUniqueCacheDirForWrite())
|
os.RemoveAll(option.getUniqueCacheDirForWrite())
|
||||||
|
os.RemoveAll(option.getUniqueCacheDirForRead())
|
||||||
})
|
})
|
||||||
|
|
||||||
if wfs.option.ConcurrentWriters > 0 {
|
if wfs.option.ConcurrentWriters > 0 {
|
||||||
|
Reference in New Issue
Block a user