Merge pull request #333 from hl1248/modify-docs

修改hippo4j-core文档的小错误
pull/335/head
小马哥 2 years ago committed by GitHub
commit 2e535b2547
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -116,13 +116,10 @@ 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 +145,7 @@ public class ThreadPoolConfig {
.threadPoolId(threadPoolId)
.dynamicPool()
.build();
return dynamicExecutor;
return messageProduceDynamicExecutor;
}
}

Loading…
Cancel
Save