Merge branch 'dev' into fix/daily_report

This commit is contained in:
Степанов Дмитрий 2023-12-15 12:52:49 +05:00
commit 64d50994d2

View File

@ -43,7 +43,7 @@ public class WorkOperationDetection: Work
protected override async Task Action(string id, IServiceProvider services, Action<string, double?> onProgressCallback, CancellationToken token)
{
using var db = services.GetRequiredService<IAsbCloudDbContext>();
db.Database.SetCommandTimeout(TimeSpan.FromMinutes(5));
var lastDetectedDates = await db.DetectedOperations
.GroupBy(o => o.IdTelemetry)
.Select(g => new