开发者

How can I adjust the CommandTImeout in DbFit for long running queries?

开发者 https://www.devze.com 2022-12-31 13:47 出处:网络
Is there any way to increase the CommandTimeout for DbFit queries? I have a long running stored procedure that times out when running it in a DbFit Test.

Is there any way to increase the CommandTimeout for DbFit queries? I have a long running stored procedure that times out when running it in a DbFit Test.

It's possible for the procedure to run for a really long time (processing millions of records) and would like to have DbFit wait until it's completed, even if it takes several minutes.

We are using the latest version of FitSharp (downloaded it yesterday) and use the开发者_如何学C version of DbFit that is included with FitSharp.


In the next release there will be a commandtimeout option:

|set option|command timeout|900|

http://github.com/jediwhale/fitsharp/issues#issue/52

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号