Skip to content

Commit f20c0b6

Browse files
committed
fix: 修复集群消息未 subscribe 的 bug
1 parent 683bf3d commit f20c0b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/jun/mqttx/broker/BrokerHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ public void action(byte[] msg) {
378378

379379
// 移除 cache&redis 中客户端订阅的 topic
380380
if (!CollectionUtils.isEmpty(authorizedSub)) {
381-
subscriptionService.clearUnAuthorizedClientSub(clientId, authorizedSub);
381+
subscriptionService.clearUnAuthorizedClientSub(clientId, authorizedSub).subscribe();
382382
}
383383
}
384384

0 commit comments

Comments
 (0)