removed mutex for refresh from cache
This commit is contained in:
Vendored
-1
@@ -19,7 +19,6 @@ type Cache struct {
|
|||||||
cfg CacheConfig
|
cfg CacheConfig
|
||||||
cr *os.Root
|
cr *os.Root
|
||||||
mirrorIdx atomic.Uint64
|
mirrorIdx atomic.Uint64
|
||||||
refreshMu sync.Mutex
|
|
||||||
client http.Client
|
client http.Client
|
||||||
inFlight map[string]*inFlight
|
inFlight map[string]*inFlight
|
||||||
inFlightMu sync.Mutex
|
inFlightMu sync.Mutex
|
||||||
|
|||||||
Reference in New Issue
Block a user