From 04c7354149793f5da0dc1a94c3ef58bd1137f688 Mon Sep 17 00:00:00 2001 From: Steven Liang <1634074538@qq.com> Date: Fri, 16 Jul 2021 09:50:42 +0800 Subject: [PATCH] delete the unuse code --- .../ConsumeMessageConcurrentlyService.java | 24 ++----------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java b/client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java index 925e5258..537dbee8 100644 --- a/client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java +++ b/client/src/main/java/org/apache/rocketmq/client/impl/consumer/ConsumeMessageConcurrentlyService.java @@ -110,32 +110,12 @@ public class ConsumeMessageConcurrentlyService implements ConsumeMessageService @Override public void incCorePoolSize() { - // long corePoolSize = this.consumeExecutor.getCorePoolSize(); - // if (corePoolSize < this.defaultMQPushConsumer.getConsumeThreadMax()) - // { - // this.consumeExecutor.setCorePoolSize(this.consumeExecutor.getCorePoolSize() - // + 1); - // } - // log.info("incCorePoolSize Concurrently from {} to {}, ConsumerGroup: - // {}", - // corePoolSize, - // this.consumeExecutor.getCorePoolSize(), - // this.consumerGroup); + } @Override public void decCorePoolSize() { - // long corePoolSize = this.consumeExecutor.getCorePoolSize(); - // if (corePoolSize > this.defaultMQPushConsumer.getConsumeThreadMin()) - // { - // this.consumeExecutor.setCorePoolSize(this.consumeExecutor.getCorePoolSize() - // - 1); - // } - // log.info("decCorePoolSize Concurrently from {} to {}, ConsumerGroup: - // {}", - // corePoolSize, - // this.consumeExecutor.getCorePoolSize(), - // this.consumerGroup); + } @Override -- GitLab