Skip to content

Commit 7d67484

Browse files
authored
[ISSUE #6390] Add break to the exception of WHEEL_TIMER_NOT_ENABLE. (#6394)
1 parent 3613821 commit 7d67484

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java

+1
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ private RemotingCommand handlePutMessageResult(PutMessageResult putMessageResult
398398
response.setCode(ResponseCode.SYSTEM_ERROR);
399399
response.setRemark(String.format("accurate timer message is not enabled, timerWheelEnable is %s",
400400
this.brokerController.getMessageStoreConfig().isTimerWheelEnable()));
401+
break;
401402
case SERVICE_NOT_AVAILABLE:
402403
response.setCode(ResponseCode.SERVICE_NOT_AVAILABLE);
403404
response.setRemark(

0 commit comments

Comments
 (0)