From 4824ca7154be734730f2412484618e540b8bc9a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=82=85=E5=93=A5?= <184172133@qq.com> Date: Sun, 26 Nov 2023 11:43:27 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E6=B5=8B=E8=AF=95=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/cn/bugstack/xfg/dev/tech/Application.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xfg-dev-tech-app/src/main/java/cn/bugstack/xfg/dev/tech/Application.java b/xfg-dev-tech-app/src/main/java/cn/bugstack/xfg/dev/tech/Application.java index e043539..fb994cd 100644 --- a/xfg-dev-tech-app/src/main/java/cn/bugstack/xfg/dev/tech/Application.java +++ b/xfg-dev-tech-app/src/main/java/cn/bugstack/xfg/dev/tech/Application.java @@ -29,7 +29,7 @@ public class Application { * curl http://localhost:8091/api/hystrix/query_order_info */ @HystrixCommand(commandProperties = { - @HystrixProperty(name = "execution.isolation.thread.timeoutInMilliseconds", value = "500") + @HystrixProperty(name = "execution.isolation.thread.timeoutInMilliseconds", value = "550") }, fallbackMethod = "queryOrderInfo_error" ) @RequestMapping(value = "query_order_info", method = RequestMethod.GET) @@ -63,7 +63,7 @@ public class Application { for (int i = 0; i < 200; i++) { try { emitter.send("hi xfg-dev-tech-grafana\r\n" + i); - Thread.sleep(150); + Thread.sleep(250); } catch (Exception e) { throw new RuntimeException(e); } -- GitLab