This is an automated email from the ASF dual-hosted git repository.
shenlin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-eventbridge.git
The following commit(s) were added to refs/heads/main by this push:
new fc379e0 feat:change the EXPONENTIAL_DECAY_RETRY define
fc379e0 is described below
commit fc379e09073c8df1fd56fe20972a0f5965352d6f
Author: 2011shenlin <[email protected]>
AuthorDate: Wed Aug 16 13:52:49 2023 +0800
feat:change the EXPONENTIAL_DECAY_RETRY define
---
.../org/apache/rocketmq/eventbridge/enums/PushRetryStrategyEnum.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/common/src/main/java/org/apache/rocketmq/eventbridge/enums/PushRetryStrategyEnum.java
b/common/src/main/java/org/apache/rocketmq/eventbridge/enums/PushRetryStrategyEnum.java
index 913b0ab..61000fd 100644
---
a/common/src/main/java/org/apache/rocketmq/eventbridge/enums/PushRetryStrategyEnum.java
+++
b/common/src/main/java/org/apache/rocketmq/eventbridge/enums/PushRetryStrategyEnum.java
@@ -25,9 +25,9 @@ public enum PushRetryStrategyEnum {
*/
BACKOFF_RETRY(1, 3),
/**
- * 176 times: 8s~16s~32s~64s~128s~256s~512s ... 512s(170)
+ * 176 times: 1,2,4,8,16,32,64,128,256,512,512...512秒 ... 512s(176)
*/
- EXPONENTIAL_DECAY_RETRY(2, 170);
+ EXPONENTIAL_DECAY_RETRY(2, 176);
private int code;
private int retryTimes;