gpt4 book ai didi

azure - 无法更改 Azure 函数应用程序上的超时

转载 作者:行者123 更新时间:2023-12-03 04:09:29 26 4
gpt4 key购买 nike

我在使用 Azure 函数应用时遇到问题

我有一个应用服务计划,但我不能超过默认的 5 分钟超时。我从 Visual Studio 发布了这个函数

这是我的 host.json :

{
"version": "2.0",
"functionTimeout": "00:10:00"
}

我还尝试在 Azure 中创建一个插槽并在其上发布,并定义了 Host Key functionTimeout,但它也不起作用

当我尝试了这里或互联网上找到的所有解决方案时,我有点迷失了

非常感谢马蒂厄

最佳答案

目前,host.json 是我知道更改超时的唯一方法。因此,如果您可以更改它导致只读模式,则有两种编辑方法。

一种是使用应用服务编辑器对其进行编辑,另一种是转到您的 Function kudu 站点,在 wwwroot 文件夹下编辑 host.json 文件。

enter image description here

注意:来自 docanswer通过大卫我们可以知道,

There is a 230 second (i.e. a little less than 4 mins) timeout for requests that are not sending any data back. After that, the client gets the 500 you saw, even though in reality the request is allowed to continue server side.

关于azure - 无法更改 Azure 函数应用程序上的超时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57553331/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com