File tree 1 file changed +1
-3
lines changed
http-client/main/no/nav/tilleggsstonader/libs/http/config
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ class RestTemplateConfiguration {
55
55
mdcValuesPropagatingClientInterceptor : MdcValuesPropagatingClientInterceptor ,
56
56
): RestTemplateBuilder {
57
57
return restTemplateBuilder
58
- .setConnectTimeout(Duration .of(5 , ChronoUnit .SECONDS ))
58
+ .setConnectTimeout(Duration .of(2 , ChronoUnit .SECONDS ))
59
59
.setReadTimeout(Duration .of(25 , ChronoUnit .SECONDS ))
60
60
.additionalInterceptors(
61
61
consumerIdClientInterceptor,
@@ -86,8 +86,6 @@ class RestTemplateConfiguration {
86
86
bearerTokenClientInterceptor : BearerTokenClientInterceptor ,
87
87
): RestOperations {
88
88
return restTemplateBuilder
89
- .setConnectTimeout(Duration .of(5 , ChronoUnit .SECONDS ))
90
- .setReadTimeout(Duration .of(25 , ChronoUnit .SECONDS ))
91
89
.additionalInterceptors(bearerTokenClientInterceptor)
92
90
.build()
93
91
}
You can’t perform that action at this time.
0 commit comments