Revert "TimelineClient failed to retry on java.net.SocketTimeoutException: Read timed out"

This reverts commit 2e6ee95716.
This commit is contained in:
Varun Saxena 2016-09-23 13:25:46 +05:30
parent 2e6ee95716
commit 3293a7d92d
1 changed files with 1 additions and 2 deletions

View File

@ -265,8 +265,7 @@ public class TimelineClientImpl extends TimelineClient {
public boolean shouldRetryOn(Exception e) {
// Only retry on connection exceptions
return (e instanceof ClientHandlerException)
&& (e.getCause() instanceof ConnectException ||
e.getCause() instanceof SocketTimeoutException);
&& (e.getCause() instanceof ConnectException);
}
};
try {