功能超时 [英] Function Timing Out
本文介绍了功能超时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是Azure函数的新手.我用Java编写了一个简单的函数来做到这一点-
I am new to Azure functions. I wrote a simple function in Java that does this -
JsonObject response = new JsonObject();
response.addProperty("os.name", System.getProperty("os.name"));
response.addProperty("os.arch", System.getProperty("os.arch"));
response.addProperty("os.version", System.getProperty("os.version"));
String res = response.toString();
HttpResponseMessage<String> httpResponse = request.createResponse(200, res);
httpResponse.addHeader(HEADER_CONTENT_TYPE, APPLICATION_JSON);
return httpResponse;
现在正在超时.有人可以建议我看什么,然后尝试诊断为什么会超时吗?
And it is timing out. Can someone please advise on what I should look at to try and diagnose why this is timing out?
谢谢!
推荐答案
可以在此处或
Can you please share you app name either here or Sharing-Your-Function-App-name-privately
这篇关于功能超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文