Files
labca/patches/updater_updater.patch
2025-12-27 16:40:48 +01:00

23 lines
925 B
Diff

diff --git a/crl/updater/updater.go b/crl/updater/updater.go
index 2188cdc4e..760580c4e 100644
--- a/crl/updater/updater.go
+++ b/crl/updater/updater.go
@@ -73,7 +73,7 @@ func NewUpdater(
return nil, fmt.Errorf("must have positive number of shards, got: %d", numShards)
}
- if updatePeriod >= 24*time.Hour {
+ if updatePeriod > 24*time.Hour {
return nil, fmt.Errorf("must update CRLs at least every 24 hours, got: %s", updatePeriod)
}
@@ -228,7 +228,7 @@ func (cu *crlUpdater) updateShard(ctx context.Context, atTime time.Time, issuerN
crlEntries = append(crlEntries, entry)
}
- cu.log.Infof("Queried SA for CRL shard: id=[%s] shardIdx=[%d] numEntries=[%d]", crlID, shardIdx, len(crlEntries))
+ cu.log.Debugf("Queried SA for CRL shard: id=[%s] shardIdx=[%d] numEntries=[%d]", crlID, shardIdx, len(crlEntries))
// Send the full list of CRL Entries to the CA.
caStream, err := cu.ca.GenerateCRL(ctx)