Skip to content

Find, verify, and analyze leaked credentials

update timeout to 60s (#3330)

ahrav50ff17bd5be3
diff --git a/pkg/handlers/handlers.go b/pkg/handlers/handlers.go
index 6af846fae..3b1837337 100644
--- a/pkg/handlers/handlers.go
+++ b/pkg/handlers/handlers.go
@@ -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 }