コード例 #1
0
 public override async Task Execute()
 {
     if (_initialCall)
     {
         _initialCall = false;
     }
     else
     {
         await _monitorService.CheckConsistency();
     }
     await _log.WriteInfoAsync(nameof(ConsistencyCheckHandler), null, $"Next Consistency Check:[{DateTime.UtcNow.AddMilliseconds(_monitorService.MonitorInterval):u}]");
 }