Увеличен таймаут выполнения запросов в АИХ ИТ

This commit is contained in:
Mikhail Kuznetsov
2023-09-20 08:22:23 +10:00
parent 1857a96249
commit e151abd73e

View File

@@ -23,6 +23,7 @@ namespace PARR.AIHIT
services.AddDbContext<AIHITContext>(options =>
options.UseSqlServer(
configuration.GetConnectionString("AihitConnection")
,sqlServerOptions => sqlServerOptions.CommandTimeout(1800)
));
services.AddAutoMapper(AppDomain.CurrentDomain.GetAssemblies());