Merge branch 'master' into mq-subscribe

This commit is contained in:
chrislu
2024-02-25 08:00:37 -08:00
41 changed files with 299 additions and 266 deletions

View File

@@ -21,6 +21,7 @@ type ReaderCache struct {
}
type SingleChunkCacher struct {
completedTimeNew int64
sync.Mutex
parent *ReaderCache
chunkFileId string
@@ -32,7 +33,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 {