如何调整 DbFit 中的 CommandTImeout 以适应长时间运行的查询?

发布于 2024-09-02 01:12:16 字数 190 浏览 3 评论 0原文

有没有办法增加 DbFit 查询的 CommandTimeout?我有一个长时间运行的存储过程,在 DbFit 测试中运行时会超时。

该过程可能会运行很长时间(处理数百万条记录),并且希望 DbFit 等待它完成,即使需要几分钟。

我们使用最新版本的 FitSharp(昨天下载的)并使用 FitSharp 附带的 DbFit 版本。

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 version of DbFit that is included with FitSharp.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一个人的旅程 2024-09-09 01:12:16

在下一个版本中将有一个命令超时选项:

|set option|command timeout|900|

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

In the next release there will be a commandtimeout option:

|set option|command timeout|900|

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文