forked from ddrilling/AsbCloudServer
Fix TelemetryDataSaubService.GetTelemetryDataStatAsync(). increase db command timeout.
This commit is contained in:
parent
24bbbfc348
commit
b8b55c334a
@ -39,6 +39,8 @@ namespace AsbCloudInfrastructure.Services.SAUB
|
||||
var timezoneOffset = TimeSpan.FromHours(timezone.Hours);
|
||||
int[] modes = new int[] { 0, 1, 3 };
|
||||
|
||||
db.Database.SetCommandTimeout(TimeSpan.FromMinutes(1.5));
|
||||
|
||||
var query = db.Set<TelemetryDataSaub>()
|
||||
.Where(t => t.IdTelemetry == idTelemetry)
|
||||
.Where(t => t.BlockPosition > 0.0001)
|
||||
|
Loading…
Reference in New Issue
Block a user