From bf6f5c14f062aefe60389121e5b43d359a210a30 Mon Sep 17 00:00:00 2001 From: Rob Rudin Date: Wed, 3 Sep 2025 14:56:22 -0400 Subject: [PATCH] MLE-23230 Tweaking retry interceptor --- .../com/marklogic/client/impl/okhttp/RetryInterceptor.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/marklogic-client-api/src/main/java/com/marklogic/client/impl/okhttp/RetryInterceptor.java b/marklogic-client-api/src/main/java/com/marklogic/client/impl/okhttp/RetryInterceptor.java index 2f54430a8..eeaaf0294 100644 --- a/marklogic-client-api/src/main/java/com/marklogic/client/impl/okhttp/RetryInterceptor.java +++ b/marklogic-client-api/src/main/java/com/marklogic/client/impl/okhttp/RetryInterceptor.java @@ -68,7 +68,8 @@ private boolean isRetryableException(IOException e) { e.getMessage().contains("Failed to connect") || e.getMessage().contains("unexpected end of stream") || e.getMessage().contains("Connection reset") || - e.getMessage().contains("Read timed out") + e.getMessage().contains("Read timed out") || + e.getMessage().contains("Broken pipe") )); }