qianye1001 commented on code in PR #10226:
URL: https://github.com/apache/rocketmq/pull/10226#discussion_r3014614769


##########
proxy/src/main/java/org/apache/rocketmq/proxy/common/ReceiptHandleGroup.java:
##########
@@ -113,22 +113,40 @@ public HandleData(MessageReceiptHandle 
messageReceiptHandle) {
 
         public Long lock(long timeoutMs) {
             try {
-                boolean result = this.semaphore.tryAcquire(timeoutMs, 
TimeUnit.MILLISECONDS);
+                long expiredTimeMs = 
ConfigurationManager.getProxyConfig().getLockTimeoutMsInHandleGroup() * 3;

Review Comment:
   Put it below tryAcquire



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to