Make installer runtime acceptance transactional
This commit is contained in:
@@ -62,7 +62,8 @@ namespace BizTalkCheckmkPulse
|
||||
}
|
||||
|
||||
var now = DateTime.UtcNow;
|
||||
state.RefreshRequired = catalog == null
|
||||
state.RefreshRequired = _options.ForceEndpointCatalogRefresh
|
||||
|| catalog == null
|
||||
|| catalog.SynchronizedUtc > now.AddMinutes(5)
|
||||
|| now - catalog.SynchronizedUtc >= TimeSpan.FromHours(_options.EndpointDiscoveryIntervalHours);
|
||||
if (state.RefreshRequired)
|
||||
|
||||
Reference in New Issue
Block a user