forked from ddrilling/AsbCloudServer
TelemetryDataCache<TDto>.InitializeCacheFromDBAsync() увеличил таймаут чтения из БД
This commit is contained in:
parent
6c722e5478
commit
039b8446dd
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user