TelemetryDataCache<TDto>.InitializeCacheFromDBAsync() увеличил таймаут чтения из БД

This commit is contained in:
ngfrolov 2023-10-16 10:11:24 +05:00
parent 6c722e5478
commit 039b8446dd
Signed by: ng.frolov
GPG Key ID: E99907A0357B29A7

View File

@ -159,7 +159,7 @@ namespace AsbCloudInfrastructure.Services.SAUB
isLoading = true;
var defaultTimeout = db.Database.GetCommandTimeout();
db.Database.SetCommandTimeout(TimeSpan.FromSeconds(90));
db.Database.SetCommandTimeout(TimeSpan.FromMinutes(5));
Well[] wells = await db.Set<Well>()
.Include(well => well.Telemetry)