Skip to content

Commit

Permalink
Merge pull request #167 from navikt/retry_socket_ex
Browse files Browse the repository at this point in the history
retry socketex og xockettimeoutex
  • Loading branch information
kenglxn authored Jan 2, 2024
2 parents cf2d606 + 7d92b0a commit 93bab7e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ class AltinnClient(
retryInterceptor(
maxAttempts = 3,
backoffPeriod = 250L,
javax.net.ssl.SSLHandshakeException::class.java
javax.net.ssl.SSLHandshakeException::class.java,
java.net.SocketTimeoutException::class.java,
java.net.SocketException::class.java,
)
)
.build()
Expand Down

0 comments on commit 93bab7e

Please sign in to comment.