diff --git a/CPRNIMS.WebApi/Common/ServiceExtensions.cs b/CPRNIMS.WebApi/Common/ServiceExtensions.cs index e9674ce..939f5ee 100644 --- a/CPRNIMS.WebApi/Common/ServiceExtensions.cs +++ b/CPRNIMS.WebApi/Common/ServiceExtensions.cs @@ -86,21 +86,21 @@ namespace CPRNIMS.WebApi.Common options.UseSqlServer(defaultConn, sql => { sql.EnableRetryOnFailure(5, TimeSpan.FromHours(2), null); - sql.CommandTimeout(2); + sql.CommandTimeout(20); })); services.AddDbContext(options => options.UseSqlServer(localConn, sql => { sql.EnableRetryOnFailure(5, TimeSpan.FromHours(2), null); - sql.CommandTimeout(2); + sql.CommandTimeout(20); })); services.AddDbContext(options => options.UseSqlServer(defaultConn, sql => { sql.EnableRetryOnFailure(5, TimeSpan.FromHours(2), null); - sql.CommandTimeout(2); + sql.CommandTimeout(20); })); }