Skip to content

Commit

Permalink
remove timeout as it wont ever be used
Browse files Browse the repository at this point in the history
  • Loading branch information
ahrav committed Nov 16, 2024
1 parent 1f58744 commit ec6c93a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/handlers/apk.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ func (h *apkHandler) HandleFile(ctx logContext.Context, input fileReader) chan D
apkChan := make(chan DataOrErr, defaultBufferSize)

go func() {
ctx, cancel := logContext.WithTimeout(ctx, maxTimeout)
defer cancel()
defer close(apkChan)

// Defer a panic recovery to handle any panics that occur during the APK processing.
Expand Down

0 comments on commit ec6c93a

Please sign in to comment.