Merge branch 'feature/20214792-contacts' of http://test.digitaldrilling.ru:8080/DDrilling/AsbCloudServer into feature/20214792-contacts

This commit is contained in:
Olga Nemt 2023-10-16 10:56:19 +05:00
commit c869dd705d

View File

@ -52,7 +52,7 @@ namespace AsbCloudInfrastructure.Services.SAUB
var db = provider.GetRequiredService<IAsbCloudDbContext>();
await instance.InitializeCacheFromDBAsync<TEntity>(db, onProgress, token);
});
work.Timeout = TimeSpan.FromMinutes(15);
worker.WorkStore.RunOnceQueue.Enqueue(work);
}
instance.provider = provider;
@ -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)