forked from ddrilling/AsbCloudServer
Merge branch 'feature/20214792-contacts' of http://test.digitaldrilling.ru:8080/DDrilling/AsbCloudServer into feature/20214792-contacts
This commit is contained in:
commit
c869dd705d
@ -52,7 +52,7 @@ namespace AsbCloudInfrastructure.Services.SAUB
|
|||||||
var db = provider.GetRequiredService<IAsbCloudDbContext>();
|
var db = provider.GetRequiredService<IAsbCloudDbContext>();
|
||||||
await instance.InitializeCacheFromDBAsync<TEntity>(db, onProgress, token);
|
await instance.InitializeCacheFromDBAsync<TEntity>(db, onProgress, token);
|
||||||
});
|
});
|
||||||
|
work.Timeout = TimeSpan.FromMinutes(15);
|
||||||
worker.WorkStore.RunOnceQueue.Enqueue(work);
|
worker.WorkStore.RunOnceQueue.Enqueue(work);
|
||||||
}
|
}
|
||||||
instance.provider = provider;
|
instance.provider = provider;
|
||||||
@ -159,7 +159,7 @@ namespace AsbCloudInfrastructure.Services.SAUB
|
|||||||
isLoading = true;
|
isLoading = true;
|
||||||
|
|
||||||
var defaultTimeout = db.Database.GetCommandTimeout();
|
var defaultTimeout = db.Database.GetCommandTimeout();
|
||||||
db.Database.SetCommandTimeout(TimeSpan.FromSeconds(90));
|
db.Database.SetCommandTimeout(TimeSpan.FromMinutes(5));
|
||||||
|
|
||||||
Well[] wells = await db.Set<Well>()
|
Well[] wells = await db.Set<Well>()
|
||||||
.Include(well => well.Telemetry)
|
.Include(well => well.Telemetry)
|
||||||
|
Loading…
Reference in New Issue
Block a user