Skip to content

Commit

Permalink
Increase socket timeout pdfgen
Browse files Browse the repository at this point in the history
  • Loading branch information
geir-waagboe committed Mar 15, 2024
1 parent ebbaf85 commit 49f1488
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/kotlin/no/nav/syfo/client/HttpClientCommon.kt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ val pdfGenConfig: HttpClientConfig<out HttpClientEngineConfig>.() -> Unit = {
this.commonConfig()
install(HttpTimeout) {
requestTimeoutMillis = 120 * 1000
socketTimeoutMillis = 120 * 1000
}
}

Expand Down

0 comments on commit 49f1488

Please sign in to comment.