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 e0435392266644993ea56cd584d719d314598def..fb994cdd4622702a11d826752beb37a6e87e6948 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); }