From 6d62fca6e859433d3d42519b75c38d3f1513b3ce Mon Sep 17 00:00:00 2001 From: lucas Date: Thu, 21 Jul 2022 10:32:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9hippo4j-core=E6=96=87?= =?UTF-8?q?=E6=A1=A3=E7=9A=84=E5=B0=8F=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/docs/getting-started/hippo4j-core-start.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/docs/getting-started/hippo4j-core-start.md b/docs/docs/getting-started/hippo4j-core-start.md index b8c3501e..6bc2cc9e 100644 --- a/docs/docs/getting-started/hippo4j-core-start.md +++ b/docs/docs/getting-started/hippo4j-core-start.md @@ -116,13 +116,11 @@ spring: package cn.hippo4j.example; import cn.hippo4j.core.executor.DynamicThreadPool; -import cn.hippo4j.core.executor.support.ResizableCapacityLinkedBlockIngQueue; import cn.hippo4j.core.executor.support.ThreadPoolBuilder; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; - import java.util.concurrent.ThreadPoolExecutor; -import java.util.concurrent.TimeUnit; + @Configuration public class ThreadPoolConfig { @@ -148,7 +146,7 @@ public class ThreadPoolConfig { .threadPoolId(threadPoolId) .dynamicPool() .build(); - return dynamicExecutor; + return messageProduceDynamicExecutor; } }