|
@@ -202,8 +202,8 @@ namespace HealthMonitor.Service.Resolver |
|
|
var scheduleFetalPush = await _serviceEtcd.GetValAsync(fetalKey).ConfigureAwait(false); |
|
|
var scheduleFetalPush = await _serviceEtcd.GetValAsync(fetalKey).ConfigureAwait(false); |
|
|
if (string.IsNullOrWhiteSpace(scheduleFetalPush)) |
|
|
if (string.IsNullOrWhiteSpace(scheduleFetalPush)) |
|
|
{ |
|
|
{ |
|
|
var fetalInterval = (int)watchConfig["interval"]!; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//var fetalInterval = (int)watchConfig["interval"]!; |
|
|
|
|
|
var fetalInterval = 60 * 15; |
|
|
var fetalNow= DateTime.Now; |
|
|
var fetalNow= DateTime.Now; |
|
|
var fetalTimeNextRun = fetalNow.Add(TimeSpan.FromSeconds(fetalInterval)); |
|
|
var fetalTimeNextRun = fetalNow.Add(TimeSpan.FromSeconds(fetalInterval)); |
|
|
var fetalTTL = fetalInterval; |
|
|
var fetalTTL = fetalInterval; |
|
|