gpt4 book ai didi

Azure 持久计时器练习永远不会超时

转载 作者:行者123 更新时间:2023-12-03 04:05:36 31 4
gpt4 key购买 nike

我正在逐步完成 Azure 培训。我目前正在查看https://learn.microsoft.com/en-us/learn/modules/create-long-running-serverless-workflow-with-durable-functions/6-exercise-add-a-durable-timer-to-manage-a-long-running-task .

完成此练习需要完成上一个练习,我在上一个练习中遇到了问题,我在 Azure durable functions sample says sync functions are not allowed 中询问过该问题。 。这个问题的答案让我可以继续下一步。您必须在同一个沙箱 session 中完成这两项练习。

我按照练习中的说明设置了所有设置,然后“验证 Durable Functions 工作流程是否已启动”。

当我点击“statusQueryGetUri”网址时,我收到以下响应:

{
"name": "OrchFunction",
"instanceId": "5bb6bd9607544adbbc7d6aa00b7a2d40",
"runtimeStatus": "Running",
"input": null,
"customStatus": null,
"output": null,
"createdTime": "2020-02-06T21:41:11Z",
"lastUpdatedTime": "2020-02-06T21:41:35Z"
}

练习说我应该看到这个:

{
"instanceId": "dc3e6d7c2943474dad2af479233c02e4",
"runtimeStatus": "Pending",
"input": null,
"customStatus": null,
"output": null,
"createdTime": "2019-04-14T13:17:26Z",
"lastUpdatedTime": "2019-04-14T13:17:27Z"
}

按照练习的规定,我让它静置 20 秒,然后再进行任何操作。我确信我等待的时间比那更长。我刷新了网址,基本上什么也没做。我得到了同样的回应。后来我尝试了几次,它仍然只是说“正在运行”,而且我从未得到预期的升级输出。

最佳答案

同时它已经解决了,我得到了这样的回复:

{
"name": "OrchFunction",
"instanceId": "f31cae1e3791451ab8bd52d78ad4ed0a",
"runtimeStatus": "Completed",
"input": null,
"customStatus": null,
"output": [
"ESCALATION : You have not approved the project design proposal - reassigning to your Manager! Head of department!"
],
"createdTime": "2020-03-11T13:18:38Z",
"lastUpdatedTime": "2020-03-11T13:19:14Z"
}

关于Azure 持久计时器练习永远不会超时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60104100/

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