mirror of
https://github.com/apache/rocketmq.git
synced 2026-10-29 17:25:35 +08:00
Merge pull request #3157 from yglovewms/yeyi
[ISSUE #3154 ]delete the unuse code
This commit is contained in:
+2
-22
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user