You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "slawekjaranowski (via GitHub)" <gi...@apache.org> on 2023/02/23 19:23:15 UTC

[GitHub] [maven-resolver] slawekjaranowski commented on a diff in pull request #253: [MRESOLVER-326] Introduce retries on HTTP connection errors

slawekjaranowski commented on code in PR #253:
URL: https://github.com/apache/maven-resolver/pull/253#discussion_r1116149411


##########
maven-resolver-api/src/main/java/org/eclipse/aether/ConfigurationProperties.java:
##########
@@ -129,6 +129,18 @@ public final class ConfigurationProperties {
      */
     public static final String DEFAULT_HTTP_CREDENTIAL_ENCODING = "ISO-8859-1";
 
+    /**
+     * The maximum number of times a request to a remote server should be retried in case of an error.
+     *
+     * @see #DEFAULT_HTTP_RETRY_HANDLER_COUNT
+     */
+    public static final String HTTP_RETRY_HANDLER_COUNT = PREFIX_CONNECTOR + "http.retryHandler.count";

Review Comment:
   New property should also be added to `src/site/markdown/configuration.md` 



-- 
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: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org