Azure逻辑应用程序-无法完成队列中的消息

Waq*_*der 2 azure-servicebus-queues azure-logic-apps

我在 Azure 逻辑应用程序中有一个队列和几个 Azure 函数。

Azure 函数需要 5 分钟,当事件“完成队列中的消息”在逻辑应用中运行时,它会失败。以下是输出。

{
  "status": 400,
  "message": "Failed to complete the message with the lock token '{the-guid}'. The lock on the message has been lost.",
  "source": "127.0.0.1"
}
Run Code Online (Sandbox Code Playgroud)

一周前这还没有发生。

Tom*_*SFT 5

ServiceBus队列的最大锁定持续时间为5分钟,目前我们无法将其延长超过5分钟。因此,如果 azure 函数需要 5 分钟该事件“完成队列中的消息”,它将无法完成该消息。

附加:如果您的函数在消耗计划中,则不允许运行函数超过 5 分钟。更多信息请参阅问题

在此输入图像描述