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 9055b39 commit 1335ce0Copy full SHA for 1335ce0
pkg/handlers/handlers.go
@@ -381,9 +381,8 @@ func HandleFile(
381
return nil
382
}
383
384
- // processingCtx, cancel := logContext.WithTimeout(ctx, maxTimeout)
385
- // defer cancel()
386
- processingCtx := ctx
+ processingCtx, cancel := logContext.WithTimeout(ctx, maxTimeout)
+ defer cancel()
387
388
handler := selectHandler(mimeT, rdr.isGenericArchive)
389
dataOrErrChan := handler.HandleFile(processingCtx, rdr) // Delegate to the specific handler to process the file.
0 commit comments