且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

连接超时问题

更新时间:2023-02-26 20:39:34

我认为您的代码陷入了一个continue循环中.因此,请两次检查您的代码.
间隔使用定时器控制.并且在执行查询之前停止计时器,直到执行完成.因为如果执行时间很长,则可能因此而触发下一次计时器控制触发,因此您的应用程序可能会挂起..
I think your code fall in a continues loop. So check your code twice.
Use timer control with good interval. And also before execute your query stop timer until execution complete. Because if execution time take long then next trigger of timer control may occur for this reason your application may hang..