We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5941d94 commit a66c485Copy full SHA for a66c485
pkg/leeway/cache.go
@@ -349,9 +349,8 @@ func (rs *S3RemoteCache) ExistingPackages(pkgs []*Package) (map[*Package]struct{
349
}
350
log.Debugf("Checking if %d packages exist in the remote cache using s3", len(packagesToKeys))
351
352
- ch := make(chan *Package, len(packagesToKeys))
353
existingPackages := make(map[*Package]struct{})
354
- var mu sync.Mutex // Mutex for safe concurrent map access
+ var mu sync.Mutex
355
wg := sync.WaitGroup{}
356
357
ctx := context.TODO()
0 commit comments