chore: Ignore errgroup context in decoder (#20880)

This commit is contained in:
benclive
2026-02-19 17:53:50 +00:00
committed by GitHub
parent a94636578a
commit f6bd6b7cb3
+1 -1
View File
@@ -25,7 +25,7 @@ func (d *decoder) Metadata(ctx context.Context) (*filemd.Metadata, error) {
buf := bufpool.Get(int(optimisticReadBytes))
defer bufpool.Put(buf)
g, ctx := errgroup.WithContext(ctx)
g, _ := errgroup.WithContext(ctx)
// We launch a separate goroutine to cache the object size in the background
// as we read the header.