应用程序服务计划上意外的天蓝色功能超时 [英] Unexpected azure-function timeouts on app-service-plan

查看:84
本文介绍了应用程序服务计划上意外的天蓝色功能超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Azure函数最近在消耗/动态计划上有5分钟的超时行为.

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

我在启用了AlwaysOn的标准层应用服务计划上使用队列触发功能,但是尽管host.json指定了maxDequeueCount为,但我仍然看到超时(约10分钟后),随后是无限次重试. 1.我尝试将host.json中的functionTimeout设置为1h,但这没有影响.

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?

对于保费&我只能找到对执行时间无限制的多个引用.标准层应用服务计划,但这与我所看到的不符. (运行时版本:最新(〜1))

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))

推荐答案

遇到了相同的问题.从主机文件中删除了功能超时"属性.这对于我启用了始终启用的应用程序服务计划中具有队列触发功能的功能很有效,并且我的功能能够运行30分钟以上.

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.

这篇关于应用程序服务计划上意外的天蓝色功能超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆