We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a64934c commit 208feceCopy full SHA for 208fece
digicert-certcentral-caplugin/CertCentralCAPlugin.cs
@@ -764,6 +764,10 @@ public async Task Synchronize(BlockingCollection<AnyCAPluginCertificate> blockin
764
// If no last sync, use a 6 day window for the sync range (only relevant for incremental syncs)
765
lastSync = lastSync.HasValue ? lastSync.Value.AddHours(-7) : DateTime.UtcNow.AddDays(-5);
766
DateTime? utcDate = DateTime.UtcNow.AddDays(1);
767
+ if ((utcDate.Value - lastSync.Value).Days > 6)
768
+ {
769
+ lastSync = DateTime.UtcNow.AddDays(-5);
770
+ }
771
string lastSyncFormat = FormatSyncDate(lastSync);
772
string todaySyncFormat = FormatSyncDate(utcDate);
773
0 commit comments