Skip to content

Commit 08b62b9

Browse files
authored
refactor: remove static from executorService to support multi-broker in single process with brokercontainer (#9772)
Change-Id: Ic1993e6f13a03c02af321cf94896ada58ec0f1b3 Co-developed-by: Cursor <[email protected]>
1 parent a2747da commit 08b62b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

broker/src/main/java/org/apache/rocketmq/broker/transaction/AbstractTransactionalMessageCheckListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public abstract class AbstractTransactionalMessageCheckListener {
3939
//queue nums of topic TRANS_CHECK_MAX_TIME_TOPIC
4040
protected final static int TCMT_QUEUE_NUMS = 1;
4141

42-
private static volatile ExecutorService executorService;
42+
private volatile ExecutorService executorService;
4343

4444
public AbstractTransactionalMessageCheckListener() {
4545
}

0 commit comments

Comments
 (0)