File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
digicert-certcentral-caplugin Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -761,8 +761,8 @@ public async Task Synchronize(BlockingCollection<AnyCAPluginCertificate> blockin
761761 _logger . MethodEntry ( LogLevel . Trace ) ;
762762
763763 // DigiCert issue with treating the timezone as mountain time. -7 hours to accomodate DST
764- // If no last sync, use 7 days in the past as the starting point (only relevant for incremental syncs)
765- lastSync = lastSync . HasValue ? lastSync . Value . AddHours ( - 7 ) : DateTime . UtcNow . AddDays ( - 7 ) ;
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 ) ;
766766 DateTime ? utcDate = DateTime . UtcNow . AddDays ( 1 ) ;
767767 string lastSyncFormat = FormatSyncDate ( lastSync ) ;
768768 string todaySyncFormat = FormatSyncDate ( utcDate ) ;
You can’t perform that action at this time.
0 commit comments