mirror of
https://github.com/SSLMate/certspotter.git
synced 2025-06-27 10:15:33 +02:00
Remove -batch_size option
It's obsolete due to the new parallel downloading system.
This commit is contained in:
parent
996068385f
commit
0ba3b07bd9
@ -161,7 +161,6 @@ func main() {
|
|||||||
loglist.UserAgent = fmt.Sprintf("certspotter/%s (%s; %s; %s)", certspotterVersion(), runtime.Version(), runtime.GOOS, runtime.GOARCH)
|
loglist.UserAgent = fmt.Sprintf("certspotter/%s (%s; %s; %s)", certspotterVersion(), runtime.Version(), runtime.GOOS, runtime.GOARCH)
|
||||||
|
|
||||||
var flags struct {
|
var flags struct {
|
||||||
batchSize int // TODO-4: respect this option
|
|
||||||
email []string
|
email []string
|
||||||
healthcheck time.Duration
|
healthcheck time.Duration
|
||||||
logs string
|
logs string
|
||||||
@ -174,7 +173,6 @@ func main() {
|
|||||||
version bool
|
version bool
|
||||||
watchlist string
|
watchlist string
|
||||||
}
|
}
|
||||||
flag.IntVar(&flags.batchSize, "batch_size", 1000, "Max number of entries to request per call to get-entries (advanced)")
|
|
||||||
flag.Func("email", "Email address to contact when matching certificate is discovered (repeatable)", appendFunc(&flags.email))
|
flag.Func("email", "Email address to contact when matching certificate is discovered (repeatable)", appendFunc(&flags.email))
|
||||||
flag.DurationVar(&flags.healthcheck, "healthcheck", 24*time.Hour, "How frequently to perform a health check")
|
flag.DurationVar(&flags.healthcheck, "healthcheck", 24*time.Hour, "How frequently to perform a health check")
|
||||||
flag.StringVar(&flags.logs, "logs", defaultLogList, "File path or URL of JSON list of logs to monitor")
|
flag.StringVar(&flags.logs, "logs", defaultLogList, "File path or URL of JSON list of logs to monitor")
|
||||||
|
@ -30,11 +30,6 @@ You can use Cert Spotter to detect:
|
|||||||
|
|
||||||
# OPTIONS
|
# OPTIONS
|
||||||
|
|
||||||
-batch_size *NUMBER*
|
|
||||||
|
|
||||||
: Maximum number of entries to request per call to get-entries.
|
|
||||||
You should not generally need to change this. Defaults to 1000.
|
|
||||||
|
|
||||||
-email *ADDRESS*
|
-email *ADDRESS*
|
||||||
|
|
||||||
: Email address to contact when a matching certificate is discovered, or
|
: Email address to contact when a matching certificate is discovered, or
|
||||||
|
Loading…
x
Reference in New Issue
Block a user