Azure Functions的HTTP Trigger 4min超时问题
4min Timeout problem of HTTP Trigger of Azure Functions
我有 Azure Functions 的 P1v2 实例。我在 Docker.
上有 Python 运行
我让 Azure 数据工厂使用触发器调用 Azure 函数。
数据工厂收到超时错误,因为函数的大量数据处理需要超过 4 分钟。
是否有 HTTP 触发器超时的解决方法?
由于 Azure 负载均衡器,HTTP 触发函数总是 在 230 秒后超时。
Regardless of the function app timeout setting, 230 seconds is the maximum amount of time that an HTTP triggered function can take to respond to a request. This is because of the default idle timeout of Azure Load Balancer. For longer processing times, consider using the Durable Functions async pattern or defer the actual work and return an immediate response.
来源:Azure Functions hosting options - Function app timeout duration
我有 Azure Functions 的 P1v2 实例。我在 Docker.
上有 Python 运行我让 Azure 数据工厂使用触发器调用 Azure 函数。
数据工厂收到超时错误,因为函数的大量数据处理需要超过 4 分钟。
是否有 HTTP 触发器超时的解决方法?
由于 Azure 负载均衡器,HTTP 触发函数总是 在 230 秒后超时。
Regardless of the function app timeout setting, 230 seconds is the maximum amount of time that an HTTP triggered function can take to respond to a request. This is because of the default idle timeout of Azure Load Balancer. For longer processing times, consider using the Durable Functions async pattern or defer the actual work and return an immediate response.
来源:Azure Functions hosting options - Function app timeout duration