C#计划任务应用程序的运行速度比Visual Studio慢 [英] C# scheduled task app runs slower than with Visual Studio

查看:137
本文介绍了C#计划任务应用程序的运行速度比Visual Studio慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

从计划的任务运行时,C#数据库应用程序实际上会超时.

A C# database app will actually time out when run from a scheduled task.

该应用程序可以在Visual Studio中正常运行.

The app runs fine from Visual Studio.

有什么建议吗?

我正在使用Windows 7 Ultimate,内存为24 GB.

I am using Windows 7 Ultimate with 24 GBs of ram.

williamj

williamj

推荐答案

在调试模式下,我认为请求超时是无限的.

我建议您将超时时间设置为几分钟.

顺便说一句,计划任务的优先级也很低.


这篇关于C#计划任务应用程序的运行速度比Visual Studio慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆