Skip to content

Commit 57f04c9

Browse files
guyinyouguyinyou
and
guyinyou
authored
[ISSUE apache#7343] Rollback modifications to registerProcessor
Co-authored-by: guyinyou <[email protected]>
1 parent a9e3532 commit 57f04c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -827,6 +827,8 @@ public boolean recoverAndInitService() throws CloneNotSupportedException {
827827

828828
initializeResources();
829829

830+
registerProcessor();
831+
830832
initializeScheduledTasks();
831833

832834
initialTransaction();
@@ -1687,8 +1689,6 @@ public void run() {
16871689
}
16881690
}
16891691
}, 10, 5, TimeUnit.SECONDS);
1690-
1691-
registerProcessor();
16921692
}
16931693

16941694
protected void scheduleSendHeartbeat() {

0 commit comments

Comments
 (0)