aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@rgdd.se>2023-03-18 17:17:27 +0000
committerRasmus Dahlberg <rasmus@rgdd.se>2023-03-18 19:34:47 +0100
commitcb3a473613887488567dcbf8ba66e90372d623a9 (patch)
treee45242ee310ba6d0d6f7e452f9cda1b641473fb0
parent5c12f6ade6ebd444f05175a658e6b70bdde5046f (diff)
Add one more max workers
-rw-r--r--utils_ct.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils_ct.go b/utils_ct.go
index eed3f6c..98ee130 100644
--- a/utils_ct.go
+++ b/utils_ct.go
@@ -56,6 +56,9 @@ func maxWorkers(log metadata.Log, workers uint64) int {
if max := 5; strings.Contains(*log.Description, "Sectigo") && int(workers) > max {
return max
}
+ if max := 2; strings.Contains(*log.Description, "DigiCert") && int(workers) > max {
+ return max
+ }
if max := 2; strings.Contains(*log.Description, "Trust Asia") && int(workers) > max {
return max
}