Rename DownloadJobSize to GetEntriesSize
This commit is contained in:
parent
c967253f80
commit
bc199bca4b
|
@ -44,8 +44,9 @@ type Log struct {
|
|||
EndExclusive time.Time `json:"end_exclusive"`
|
||||
} `json:"temporal_interval"`
|
||||
|
||||
// certspotter-specific extensions
|
||||
GetEntriesSize int `json:"get_entries_size,omitempty"`
|
||||
DownloadWorkers int `json:"certspotter_download_workers,omitempty"`
|
||||
DownloadJobSize int `json:"certspotter_download_job_size,omitempty"`
|
||||
|
||||
// TODO: add previous_operators
|
||||
}
|
||||
|
|
|
@ -35,8 +35,8 @@ const (
|
|||
func downloadJobSize(ctlog *loglist.Log) uint64 {
|
||||
if ctlog.IsStaticCTAPI() {
|
||||
return ctclient.StaticTileWidth
|
||||
} else if ctlog.DownloadJobSize != 0 {
|
||||
return uint64(ctlog.DownloadJobSize)
|
||||
} else if ctlog.GetEntriesSize != 0 {
|
||||
return uint64(ctlog.GetEntriesSize)
|
||||
} else {
|
||||
return 256
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue