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:47 UTC

(servicecomb-java-chassis) branch master updated: [#4666] fixed BackOffSleepTask max waiting time to 10 minute (#4667)

This is an automated email from the ASF dual-hosted git repository.

liubao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git


The following commit(s) were added to refs/heads/master by this push:
     new a6bd5b758 [#4666] fixed BackOffSleepTask max waiting time to 10 minute (#4667)
a6bd5b758 is described below

commit a6bd5b758e46cca48872823f29d10da9fc4e9cf7
Author: Alex <97...@users.noreply.github.com>
AuthorDate: Mon Jan 6 17:06:42 2025 +0800

    [#4666] fixed BackOffSleepTask max waiting time to 10 minute (#4667)
---
 .../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 d25dee151..cc10ae8e1 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
@@ -31,7 +31,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;