Consider adding new predicate to KiwiRetryerPredicates for socket timeout on connect #687
sleberknight
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Should we add a new predicate that only matches on connect for socket timeouts?
example code:
and the
messageContainsConnect
method:Is there a better way to detect when a
SocketTimeoutException
occurs when connecting than checking the message to see if it contains "connect"?Plus, would need to re-verify that the exception message is consistent across every version of the JDK, which is icky.
Beta Was this translation helpful? Give feedback.
All reactions