I have many users on my web site (20000-60000 per day), which is a download site for mobile files. I have remote access to my server (windows server 2008-R2).
I\'ve
If you are using ASP.NET Core with the Startup.cs
convention, you can access and set the query command timeout option like this:
public void ConfigureServices(IServiceCollection services)
{
services.AddDbContextPool(_ =>
{
_.UseSqlServer(Configuration.GetConnectionString("MyConnectionString"), options =>
{
options.CommandTimeout(180); // 3 minutes
});
});
}