weed mount deletion always goes to weed filer

This commit is contained in:
Chris Lu
2019-02-14 07:07:38 -08:00
parent 215cd27b37
commit a3b0e39b06
2 changed files with 0 additions and 41 deletions

View File

@@ -46,8 +46,6 @@ type WFS struct {
pathToHandleLock sync.Mutex
bufPool sync.Pool
fileIdsDeletionChan chan []string
stats statsCache
}
type statsCache struct {
@@ -65,11 +63,8 @@ func NewSeaweedFileSystem(option *Option) *WFS {
return make([]byte, option.ChunkSizeLimit)
},
},
fileIdsDeletionChan: make(chan []string, 32),
}
go wfs.loopProcessingDeletion()
return wfs
}