Disable IIS Idle Timeouts in Azure Web Role

后端 未结 6 2036
-上瘾入骨i
-上瘾入骨i 2020-12-23 22:02

To prevent AppPool recycling every 20 minutes, I\'d like to remove IIS AppPool Idle Timeouts when my Azure Web Role starts. My website is a Web Application Project.

6条回答
  •  爱一瞬间的悲伤
    2020-12-23 22:06

    Don't bother. You should really have a monitoring solution for your web role anyway. And now that it's built into the Azure dashboard, it's easier to turn on monitoring than to get the idle timeout configuration right (especially if you want to maintain least privilege).

提交回复
热议问题