You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by li...@apache.org on 2025/01/06 09:06:19 UTC
(servicecomb-java-chassis) branch 2.8.x updated: [#4666] fixed BackOffSleepTask max waiting time to 10 minute (#4668)
This is an automated email from the ASF dual-hosted git repository.
liubao pushed a commit to branch 2.8.x
in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git
The following commit(s) were added to refs/heads/2.8.x by this push:
new bc4db8e38 [#4666] fixed BackOffSleepTask max waiting time to 10 minute (#4668)
bc4db8e38 is described below
commit bc4db8e38fb44254a5b8c793372661fa8fa9324a
Author: Alex <97...@users.noreply.github.com>
AuthorDate: Mon Jan 6 17:06:13 2025 +0800
[#4666] fixed BackOffSleepTask max waiting time to 10 minute (#4668)
---
.../main/java/org/apache/servicecomb/http/client/task/AbstractTask.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clients/http-client-common/src/main/java/org/apache/servicecomb/http/client/task/AbstractTask.java b/clients/http-client-common/src/main/java/org/apache/servicecomb/http/client/task/AbstractTask.java
index a2527140b..42d94bbbe 100644
--- a/clients/http-client-common/src/main/java/org/apache/servicecomb/http/client/task/AbstractTask.java
+++ b/clients/http-client-common/src/main/java/org/apache/servicecomb/http/client/task/AbstractTask.java
@@ -30,7 +30,7 @@ public class AbstractTask {
public class BackOffSleepTask implements Task {
private static final long BASE = 3000;
- private static final long MAX = 10 * 60 * 10000;
+ private static final long MAX = 10 * 60 * 1000;
long waitTime;