Skip to content

Commit

Permalink
update timeout to 60s (#3330)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahrav authored Sep 24, 2024
1 parent 9089fb7 commit 50ff17b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/handlers/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ func selectHandler(mimeT mimeType, isGenericArchive bool) FileHandler {
}
}

var maxTimeout = time.Duration(30) * time.Second
var maxTimeout = time.Duration(60) * time.Second

// SetArchiveMaxTimeout sets the maximum timeout for the archive handler.
func SetArchiveMaxTimeout(timeout time.Duration) { maxTimeout = timeout }
Expand Down

0 comments on commit 50ff17b

Please sign in to comment.