我使用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