开发者

Automatically running thread stopped after the application idling for more than 1 hour

I have a web application which runs on IIS 6.0 and it has a thread that runs on the applicaion开发者_StackOverflow startup. That thread will run continously after the application startup with a sleep time of 10 seconds (This will update the application cache from getting the data from DB). But once the application is idle for more than 1 hour this thread is no longer running. Please give me a solution for continously run this thread.


Check the AppPool recycling settings in IIS. You can set it to never recycle.


Windows service

Almost the same question as yesterday.

Let the ASP.NET app communicate with the Windows service.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜