From 5a195cf6500263e4379475d2b4f11fb95f433971 Mon Sep 17 00:00:00 2001 From: lucky 8 <1031900093@qq.com> Date: Sun, 17 Jul 2022 10:37:33 +0800 Subject: [PATCH] Example Modify the hystrix scheduled task interval --- .../cn/hippo4j/adapter/base/ThreadPoolAdapterScheduler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hippo4j-adapter/hippo4j-adapter-base/src/main/java/cn/hippo4j/adapter/base/ThreadPoolAdapterScheduler.java b/hippo4j-adapter/hippo4j-adapter-base/src/main/java/cn/hippo4j/adapter/base/ThreadPoolAdapterScheduler.java index 3f81dbff..daa9db75 100644 --- a/hippo4j-adapter/hippo4j-adapter-base/src/main/java/cn/hippo4j/adapter/base/ThreadPoolAdapterScheduler.java +++ b/hippo4j-adapter/hippo4j-adapter-base/src/main/java/cn/hippo4j/adapter/base/ThreadPoolAdapterScheduler.java @@ -28,7 +28,7 @@ import java.util.concurrent.ScheduledThreadPoolExecutor; @Slf4j public class ThreadPoolAdapterScheduler { - private static final int TASK_INTERVAL_SECONDS = 2; + private static final int TASK_INTERVAL_SECONDS = 10; private final ScheduledExecutorService scheduler;