forked from ddrilling/AsbCloudServer
Merge branch 'dev' into feature/sections
This commit is contained in:
commit
ab5e740d4a
@ -43,7 +43,7 @@ public class WorkOperationDetection: Work
|
|||||||
protected override async Task Action(string id, IServiceProvider services, Action<string, double?> onProgressCallback, CancellationToken token)
|
protected override async Task Action(string id, IServiceProvider services, Action<string, double?> onProgressCallback, CancellationToken token)
|
||||||
{
|
{
|
||||||
using var db = services.GetRequiredService<IAsbCloudDbContext>();
|
using var db = services.GetRequiredService<IAsbCloudDbContext>();
|
||||||
|
db.Database.SetCommandTimeout(TimeSpan.FromMinutes(5));
|
||||||
var lastDetectedDates = await db.DetectedOperations
|
var lastDetectedDates = await db.DetectedOperations
|
||||||
.GroupBy(o => o.IdTelemetry)
|
.GroupBy(o => o.IdTelemetry)
|
||||||
.Select(g => new
|
.Select(g => new
|
||||||
|
Loading…
Reference in New Issue
Block a user