mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 01:17:56 +08:00
rename
This commit is contained in:
@@ -70,7 +70,7 @@ type WebDavFileSystem struct {
|
||||
secret security.SigningKey
|
||||
filer *filer2.Filer
|
||||
grpcDialOption grpc.DialOption
|
||||
chunkCache *chunk_cache.ChunkCache
|
||||
chunkCache *chunk_cache.TieredChunkCache
|
||||
}
|
||||
|
||||
type FileInfo struct {
|
||||
@@ -100,7 +100,7 @@ type WebDavFile struct {
|
||||
|
||||
func NewWebDavFileSystem(option *WebDavOption) (webdav.FileSystem, error) {
|
||||
|
||||
chunkCache := chunk_cache.NewChunkCache(256, option.CacheDir, option.CacheSizeMB)
|
||||
chunkCache := chunk_cache.NewTieredChunkCache(256, option.CacheDir, option.CacheSizeMB)
|
||||
grace.OnInterrupt(func() {
|
||||
chunkCache.Shutdown()
|
||||
})
|
||||
|
Reference in New Issue
Block a user