Merge branch 'dev' into feature/sections

This commit is contained in:
ngfrolov 2023-12-14 16:33:21 +05:00
commit ab5e740d4a
Signed by: ng.frolov
GPG Key ID: E99907A0357B29A7

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