Unexpected azure-function timeouts on app-service-

2019-02-27 22:59发布

Azure functions recently got 5 minute timeout behavior on consumption/dynamic plans.

I'm using an queue triggered function on a standard tier app service plan with AlwaysOn enabled, but I'm still seeing the timeout (after ~10mins), followed by infinite retries, despite my host.json specifying a maxDequeueCount of 1. I've tried setting functionTimeout in host.json (to 1h) but it has no impact.

Am I missing something? Is this functionality documented anywhere, and is it configurable?

I can only find multiple references to execution time being unlimited for premium & standard tier app service plans, but this doesn't match what I'm seeing. (Runtime version: latest (~1))

1条回答
家丑人穷心不美
2楼-- · 2019-02-27 23:26

encountered with the same issue. removed "function-timeout" property from the host file. this worked for me for functions with queue trigger in app service plan with Always-On enabled and my function was able to run for more than 30 minutes.

查看更多
登录 后发表回答