App pool timeout for azure web sites

前端 未结 3 573
再見小時候
再見小時候 2020-12-05 10:45

is there a way to set the timeout of an app pool of a web-site running under azure sites.

I have a site running there and it seems like it needs to spin up again wh

3条回答
  •  南方客
    南方客 (楼主)
    2020-12-05 11:17

    Since the relevant answer is in the comments it is easy to miss it. Currently Azure Web Apps support the Always On feature, that keeps your app in memory. It is available in Basic and upper tiers and you can configure it from the portal:

    Resource_Group > Web App > Settings > Application settings

    If you want to achieve the same effect in Free or Shared tiers you can create a webjob that will ping your website to keep it in memory. There are numerous blog posts how to achieve this 1, 2, etc.

提交回复
热议问题