How to increase executionTimeout for a long-running query?

后端 未结 6 1130
无人及你
无人及你 2020-11-27 16:44

In my application, one query takes 3 minutes to execute. I found that Default ExecutionTimeout value is 110 sec.I tried to change this to 500 (seconds) but

6条回答
  •  佛祖请我去吃肉
    2020-11-27 17:06

    When a query takes that long, I would advice to run it asynchronously and use a callback function for when it's complete.

    I don't have much experience with ASP.NET, but maybe you can use AJAX for this asynchronous behavior.

    Typically a web page should load in mere seconds, not minutes. Don't keep your users waiting for so long!

提交回复
热议问题