Merge branch 'dev' into feature/20214792-contacts

This commit is contained in:
ngfrolov 2023-10-16 10:25:05 +05:00
commit 890b57105c
Signed by: ng.frolov
GPG Key ID: E99907A0357B29A7

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)