codersfarm commented on issue #5380: URL: https://github.com/apache/rocketmq/issues/5380#issuecomment-1288280929
Thanks. Main thead is blocked by countDownLatch until sub thead complete. The countDownLatch will goes zero, `countDownLatch.await(timeoutMillis * 4, TimeUnit.MILLISECONDS)` execute immediately. The query `this.mQClientFactory.getMQClientAPIImpl().queryMessage(addr, requestHeader, timeoutMillis * 3` is `timeoutMillis * 3`,and the `countDownLatch.await` is `timeoutMillis * 4`.   -- 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]
