You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/tesseract/aws/main.go
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -47,16 +47,16 @@ import (
47
47
funcinit() {
48
48
flag.Var(¬AfterStart, "not_after_start", "Start of the range of acceptable NotAfter values, inclusive. Leaving this unset or empty implies no lower bound to the range. RFC3339 UTC format, e.g: 2024-01-02T15:04:05Z.")
49
49
flag.Var(¬AfterLimit, "not_after_limit", "Cut off point of notAfter dates - only notAfter dates strictly *before* notAfterLimit will be accepted. Leaving this unset or empty means no upper bound on the accepted range. RFC3339 UTC format, e.g: 2024-01-02T15:04:05Z.")
50
-
flag.Float64Var(&limitDedupInFlight, "limit_dedup_in_flight", -1, "Optionally rate limits the number of number of in-flight duplicate add requests - i.e. the number of requests matching entries that have already been integrated, but need to be fetched by the client to retrieve their timestamp. When 0, duplicate entries are always rate limited. When negative, no rate limits apply.")
50
+
flag.Float64Var(&dedupRL, "rate_limit_dedup", -1, "Optionally rate limits the number of number of in-flight duplicate add requests - i.e. the number of requests matching entries that have already been integrated, but need to be fetched by the client to retrieve their timestamp. When 0, duplicate entries are always rate limited. When negative, no rate limits apply.")
51
51
// DEPRECATED: will be removed shortly
52
-
flag.Float64Var(&limitDedupInFlight, "pushback_max_dedupe_in_flight", 100, "DEPRECATED: use pushback_max_dedup_in_flight. Maximum number of number of in-flight duplicate add requests - i.e. the number of requests matching entries that have already been integrated, but need to be fetched by the client to retrieve their timestamp. When 0, duplicate entries are always pushed back.")
52
+
flag.Float64Var(&dedupRL, "pushback_max_dedupe_in_flight", 100, "DEPRECATED: use rate_limit_dedup. Maximum number of number of in-flight duplicate add requests - i.e. the number of requests matching entries that have already been integrated, but need to be fetched by the client to retrieve their timestamp. When 0, duplicate entries are always pushed back.")
53
53
}
54
54
55
55
// Global flags that affect all log instances.
56
56
var (
57
-
notAfterStarttimestampFlag
58
-
notAfterLimittimestampFlag
59
-
limitDedupInFlightfloat64
57
+
notAfterStarttimestampFlag
58
+
notAfterLimittimestampFlag
59
+
dedupRLfloat64
60
60
61
61
// Functionality flags
62
62
httpEndpoint=flag.String("http_endpoint", "localhost:6962", "Endpoint for HTTP (host:port).")
@@ -141,7 +141,7 @@ eventually go away. See /internal/lax509/README.md for more information.`)
Copy file name to clipboardExpand all lines: cmd/tesseract/gcp/main.go
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -46,17 +46,17 @@ func init() {
46
46
flag.Var(¬AfterStart, "not_after_start", "Start of the range of acceptable NotAfter values, inclusive. Leaving this unset or empty implies no lower bound to the range. RFC3339 UTC format, e.g: 2024-01-02T15:04:05Z.")
47
47
flag.Var(¬AfterLimit, "not_after_limit", "Cut off point of notAfter dates - only notAfter dates strictly *before* notAfterLimit will be accepted. Leaving this unset or empty means no upper bound on the accepted range. RFC3339 UTC format, e.g: 2024-01-02T15:04:05Z.")
48
48
flag.Var(&additionalSigners, "additional_signer_private_key_secret_name", "Private key secret name for additional Ed25519 checkpoint signatures, may be supplied multiple times. Format: projects/{projectId}/secrets/{secretName}/versions/{secretVersion}.")
49
-
flag.Float64Var(&limitDedupInFlight, "limit_dedup_in_flight", -1, "Optionally rate limits the number of number of in-flight duplicate add requests - i.e. the number of requests matching entries that have already been integrated, but need to be fetched by the client to retrieve their timestamp. When 0, duplicate entries are always rate limited. When negative, no rate limits apply.")
49
+
flag.Float64Var(&dedupRL, "rate_limit_dedup", -1, "Optionally rate limits the number of number of in-flight duplicate add requests - i.e. the number of requests matching entries that have already been integrated, but need to be fetched by the client to retrieve their timestamp. When 0, duplicate entries are always rate limited. When negative, no rate limits apply.")
50
50
// DEPRECATED: will be removed shortly
51
-
flag.Float64Var(&limitDedupInFlight, "pushback_max_dedupe_in_flight", 100, "DEPRECATED: use limit_dedup_in_flight. Maximum number of number of in-flight duplicate add requests - i.e. the number of requests matching entries that have already been integrated, but need to be fetched by the client to retrieve their timestamp. When 0, duplicate entries are always pushed back.")
51
+
flag.Float64Var(&dedupRL, "pushback_max_dedupe_in_flight", 100, "DEPRECATED: use rate_limit_dedup. Maximum number of number of in-flight duplicate add requests - i.e. the number of requests matching entries that have already been integrated, but need to be fetched by the client to retrieve their timestamp. When 0, duplicate entries are always pushed back.")
52
52
}
53
53
54
54
// Global flags that affect all log instances.
55
55
var (
56
-
notAfterStarttimestampFlag
57
-
notAfterLimittimestampFlag
58
-
additionalSignersmultiStringFlag
59
-
limitDedupInFlightfloat64
56
+
notAfterStarttimestampFlag
57
+
notAfterLimittimestampFlag
58
+
additionalSignersmultiStringFlag
59
+
dedupRLfloat64
60
60
61
61
// Functionality flags
62
62
httpEndpoint=flag.String("http_endpoint", "localhost:6962", "Endpoint for HTTP (host:port).")
@@ -128,7 +128,7 @@ eventually go away. See /internal/lax509/README.md for more information.`)
Copy file name to clipboardExpand all lines: cmd/tesseract/posix/main.go
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -49,17 +49,17 @@ func init() {
49
49
flag.Var(¬AfterStart, "not_after_start", "Start of the range of acceptable NotAfter values, inclusive. Leaving this unset implies no lower bound to the range. RFC3339 UTC format, e.g: 2024-01-02T15:04:05Z.")
50
50
flag.Var(¬AfterLimit, "not_after_limit", "Cut off point of notAfter dates - only notAfter dates strictly *before* notAfterLimit will be accepted. Leaving this unset means no upper bound on the accepted range. RFC3339 UTC format, e.g: 2024-01-02T15:04:05Z.")
51
51
flag.Var(&additionalSigners, "additional_signer", "Path to a file containing an additional note Signer formatted keys for checkpoints. May be specified multiple times.")
52
-
flag.Float64Var(&pushbackMaxDedupInFlight, "pushback_max_dedup_in_flight", 100, "Maximum number of number of in-flight duplicate add requests per second - i.e. the number of requests matching entries that have already been integrated, but need to be fetched by the client to retrieve their timestamp. When 0, duplicate entries are always pushed back.")
52
+
flag.Float64Var(&dedupRL, "rate_limit_dedup", 100, "Maximum number of number of in-flight duplicate add requests per second - i.e. the number of requests matching entries that have already been integrated, but need to be fetched by the client to retrieve their timestamp. When 0, duplicate entries are always pushed back.")
53
53
// DEPRECATED: will be removed shortly
54
-
flag.Float64Var(&pushbackMaxDedupInFlight, "pushback_max_dedupe_in_flight", 100, "DEPRECATED: use pushback_max_dedup_in_flight. Maximum number of number of in-flight duplicate add requests - i.e. the number of requests matching entries that have already been integrated, but need to be fetched by the client to retrieve their timestamp. When 0, duplicate entries are always pushed back.")
54
+
flag.Float64Var(&dedupRL, "pushback_max_dedupe_in_flight", 100, "DEPRECATED: use rate_limit_dedup. Maximum number of number of in-flight duplicate add requests - i.e. the number of requests matching entries that have already been integrated, but need to be fetched by the client to retrieve their timestamp. When 0, duplicate entries are always pushed back.")
55
55
}
56
56
57
57
// Global flags that affect all log instances.
58
58
var (
59
-
notAfterStarttimestampFlag
60
-
notAfterLimittimestampFlag
61
-
additionalSignersmultiStringFlag
62
-
pushbackMaxDedupInFlightfloat64
59
+
notAfterStarttimestampFlag
60
+
notAfterLimittimestampFlag
61
+
additionalSignersmultiStringFlag
62
+
dedupRLfloat64
63
63
64
64
// Functionality flags
65
65
httpEndpoint=flag.String("http_endpoint", "localhost:6962", "Endpoint for HTTP (host:port).")
0 commit comments