chihsuan commented on code in PR #11375:
URL: https://github.com/apache/ozone/pull/11375#discussion_r4155113221


##########
.github/workflows/ci.yml:
##########
@@ -43,8 +43,8 @@ env:
   TEST_JAVA_VERSION: 25 # JDK version used by CI build and tests; should match 
the JDK version in apache/ozone-runner image
   # MAVEN_ARGS and MAVEN_OPTS are duplicated in check.yml and 
populate-cache.yml, please keep in sync
   MAVEN_ARGS: --batch-mode --settings ${{ github.workspace 
}}/dev-support/ci/maven-settings.xml
-  # Maven 3.9 downloads dependencies via maven-resolver-transport-http, which 
reads aether.* and ignores maven.wagon.*
-  MAVEN_OPTS: -Dhttp.keepAlive=false 
-Daether.connector.http.retryHandler.count=10
+  # Maven 3.9 downloads dependencies via maven-resolver-transport-http, which 
reads aether.* and ignores both maven.wagon.* and JDK-level http.*
+  MAVEN_OPTS: -Daether.connector.http.connectionMaxTtl=25 
-Daether.connector.http.retryHandler.count=5 
-Daether.connector.http.retryHandler.intervalMax=30000

Review Comment:
   Just curious, is `connectionMaxTtl=25` mainly for Azure dropping idle 
connections on GitHub runners 
([WAGON-545](https://issues.apache.org/jira/browse/WAGON-545)), rather than the 
429s? Just want to confirm my understanding.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to