imaffe commented on issue #2237:
URL: https://github.com/apache/rocketmq/issues/2237#issuecomment-675878996


   this if statement
   ```
   (rep.getBeginTimestamp() + rep.getTimeoutMillis() + 1000) <= 
System.currentTimeMillis()
   ```
   It looks to me that this if statement is checking if a response is timeout ? 
because if currentTimeMillis >= rep.getBeginTimestamp() + 
rep.getTimeoutMillis() then means this rep is timeout 
   
   so in your description
    > 1. scan the responseTable and find the responseFuture which are not 
timeout.
   
   
   I think what it did here is scan the responseTable and find the 
responseFuture which ARE timeout.
   
   
   
   
   


----------------------------------------------------------------
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.

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


Reply via email to