mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
re-ordering
This commit is contained in:
parent
3852307e94
commit
f5c4b642bb
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue