diff --git a/weed/filer/reader_cache.go b/weed/filer/reader_cache.go index 27d40a78b..9e52e9615 100644 --- a/weed/filer/reader_cache.go +++ b/weed/filer/reader_cache.go @@ -20,6 +20,7 @@ type ReaderCache struct { } type SingleChunkCacher struct { + completedTimeNew int64 sync.Mutex parent *ReaderCache chunkFileId string @@ -31,7 +32,6 @@ type SingleChunkCacher struct { shouldCache bool wg sync.WaitGroup cacheStartedCh chan struct{} - completedTimeNew int64 } func NewReaderCache(limit int, chunkCache chunk_cache.ChunkCache, lookupFileIdFn wdclient.LookupFileIdFunctionType) *ReaderCache {