Enable Connection Evictor in HttpClient (#4103) (#4258)

This commit is contained in:
ZIRAKrezovic
2024-03-26 15:29:18 +01:00
committed by GitHub
parent 0bebfd1e3d
commit 1754585fc0
3 changed files with 65 additions and 8 deletions

View File

@@ -110,6 +110,17 @@ eureka:
socket-timeout: 10000
----
When using the default Apache HTTP Client Request Factory, an additional parameter can be used to configure timeout for evicting idle connections. Default value is 30 seconds. Value must be specified in milliseconds.
.application.yml
[source,yaml]
----
eureka:
client:
rest-template-timeout:
idle-timeout: 30000
----
=== Status Page and Health Indicator
The status page and health indicators for a Eureka instance default to `/info` and `/health` respectively, which are the default locations of useful endpoints in a Spring Boot Actuator application.