Increase azure web app request timeout

后端 未结 6 1957
予麋鹿
予麋鹿 2020-12-15 03:53

Is there any way to increase the request timeout for azure web apps?

If I delay the request by anything over 2 minutes or so the request fails with no error (blank p

6条回答
  •  渐次进展
    2020-12-15 04:30

    You can deploy the web app using the automation script and add this line under "resources":

            {
              "name": "WEBSITES_CONTAINER_START_TIME_LIMIT",
              "value": 1800
            },
    

    where value is by default 230, but can be increased up to 1800. You can also add a New Setting under Application Settings, named WEBSITES_CONTAINER_START_TIME_LIMIT and with the value of seconds you want.

提交回复
热议问题