Фикс бекграфнуд сервиса

This commit is contained in:
Степанов Дмитрий 2024-07-25 11:50:56 +03:00
parent d7e9c4f893
commit e29f21c291

View File

@ -80,8 +80,6 @@ public class WorkOperationDetection : Work
var detectedOperations = var detectedOperations =
await detectedOperationService.DetectOperationsAsync(idTelemetry, request, lastDetectedOperation, token); await detectedOperationService.DetectOperationsAsync(idTelemetry, request, lastDetectedOperation, token);
await detectedOperationRepository.InsertRangeAsync(detectedOperations.Items, token);
dateBegin = detectedOperations.LastDate.UtcDateTime; dateBegin = detectedOperations.LastDate.UtcDateTime;
CacheOfStartDatesByTelemetryId[idTelemetry] = dateBegin; CacheOfStartDatesByTelemetryId[idTelemetry] = dateBegin;