ajbaldocchi commented on a change in pull request #356:
URL: 
https://github.com/apache/httpcomponents-client/pull/356#discussion_r838439496



##########
File path: 
httpclient5/src/main/java/org/apache/hc/client5/http/HttpRequestRetryStrategy.java
##########
@@ -75,6 +75,22 @@
      */
     boolean retryRequest(HttpResponse response, int execCount, HttpContext 
context);
 
+
+    /**
+     * Determines the retry interval between subsequent retries.
+     *
+     * @param request the request failed due to an I/O exception
+     * @param exception the exception that occurred
+     * @param execCount the number of times this method has been
+     *                  unsuccessfully executed
+     * @param context the context for the request execution
+     *
+     * @return the retry interval between subsequent retries
+     */
+    default TimeValue getRetryInterval(HttpRequest request, IOException 
exception, int execCount, HttpContext context) {

Review comment:
       Could you please clarify the change you would like here?




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