Skip to content

Commit bf6f5c1

Browse files
committed
MLE-23230 Tweaking retry interceptor
1 parent 77daa2f commit bf6f5c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

marklogic-client-api/src/main/java/com/marklogic/client/impl/okhttp/RetryInterceptor.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ private boolean isRetryableException(IOException e) {
6868
e.getMessage().contains("Failed to connect") ||
6969
e.getMessage().contains("unexpected end of stream") ||
7070
e.getMessage().contains("Connection reset") ||
71-
e.getMessage().contains("Read timed out")
71+
e.getMessage().contains("Read timed out") ||
72+
e.getMessage().contains("Broken pipe")
7273
));
7374
}
7475

0 commit comments

Comments
 (0)