1
This commit is contained in:
+2
-1
@@ -662,7 +662,8 @@ public class OrderProfitAnalysisServiceImpl implements IOrderProfitAnalysisServi
|
||||
if (StringUtils.isNotEmpty(profileId)) {
|
||||
body.put("profileId", profileId.trim());
|
||||
}
|
||||
String resp = postJson(url, body.toJSONString(), 15000, 180000);
|
||||
// 须长于 Jarvis 调模型的读超时(360 秒),否则外层会先断开
|
||||
String resp = postJson(url, body.toJSONString(), 15000, 420000);
|
||||
if (StringUtils.isEmpty(resp)) {
|
||||
throw new RuntimeException("Jarvis 返回为空,请检查服务可达性");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user