YxAc commented on code in PR #279:
URL: https://github.com/apache/rocketmq-mqtt/pull/279#discussion_r1630789596


##########
mqtt-cs/src/main/java/org/apache/rocketmq/mqtt/cs/channel/ChannelManager.java:
##########
@@ -63,4 +63,35 @@ public interface ChannelManager {
      */
     int totalConn();
 
+    /**
+     * Refills the publish receive quota for the given channel.
+     * This method is typically called after a publish acknowledgement or 
other scenarios that refill the quota.
+     * @param channel The channel for which the quota needs to be refilled.
+     * @return true if the quota was successfully refilled, false otherwise.
+     */
+    boolean publishReceiveRefill(Channel channel);

Review Comment:
   OK,i will put them to Session.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to