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