Skip to content

Commit 1335ce0

Browse files
committed
Whoops: get rid of debugging code
1 parent 9055b39 commit 1335ce0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pkg/handlers/handlers.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -381,9 +381,8 @@ func HandleFile(
381381
return nil
382382
}
383383

384-
// processingCtx, cancel := logContext.WithTimeout(ctx, maxTimeout)
385-
// defer cancel()
386-
processingCtx := ctx
384+
processingCtx, cancel := logContext.WithTimeout(ctx, maxTimeout)
385+
defer cancel()
387386

388387
handler := selectHandler(mimeT, rdr.isGenericArchive)
389388
dataOrErrChan := handler.HandleFile(processingCtx, rdr) // Delegate to the specific handler to process the file.

0 commit comments

Comments
 (0)