未验证 提交 35a15b66 编写于 作者: H Heng Du 提交者: GitHub

Merge pull request #3022 from heihaozi/maxReconsumeTimes

[ISSUE #3021] Improve the comment of maxReconsumeTimes.
...@@ -236,11 +236,11 @@ public class DefaultMQPushConsumer extends ClientConfig implements MQPushConsume ...@@ -236,11 +236,11 @@ public class DefaultMQPushConsumer extends ClientConfig implements MQPushConsume
private boolean unitMode = false; private boolean unitMode = false;
/** /**
* Max re-consume times. -1 means 16 times. * Max re-consume times.
* </p> * In concurrently mode, -1 means 16;
* In orderly mode, -1 means Integer.MAX_VALUE.
* *
* If messages are re-consumed more than {@link #maxReconsumeTimes} before success, it's be directed to a deletion * If messages are re-consumed more than {@link #maxReconsumeTimes} before success.
* queue waiting.
*/ */
private int maxReconsumeTimes = -1; private int maxReconsumeTimes = -1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册