我使用Azure的逻辑应用程序的最新预览版和我的话题之一检查是否在邮件的标题字符串如下为什么我在使用Azure逻辑应用程序时遇到超时?
"authenticatedresponse": {
"conditions": [
{
"expression": "@equals(coalesce(trigger().outputs?.headers?['CHECK_THIS_STRING'], ''), 'SOME_STRING')"
}
],
"inputs": {
"statusCode": 202
},
"type": "Response"
}
的主题中的代码所示一致SOME_STRING
应该检查如果条件成立,然后将消息传递给服务总线。它在99%的情况下工作,但有时我会得到一个超时异常消息{"code":"ActionResponseTimedOut","message":"The execution of template action 'authenticatedresponse' is failed: the client application timed out waiting for a response from service. This means that workflow took longer to respond than the alloted timeout value. The connection maintained between the client application and service will be closed and client application will get an HTTP status code 504 Gateway Timeout."}
正如你所看到的,这是一个非常简单的条件,所以它确实不需要很多时间来执行。有人对这个问题有什么想法吗?
好的,但是我的超时权利仍然很奇怪吗?我并未回复该消息,而只是将其传递给Azure服务总线。我能做些什么,导致它需要90秒才能完成? – Alex