diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/HealthEndpoint.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/HealthEndpoint.java index a48bb894a65..96f8f1325ba 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/HealthEndpoint.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/HealthEndpoint.java @@ -61,8 +61,8 @@ public class HealthEndpoint extends AbstractEndpoint { } /** - * Time to live for cached result. If accessed anonymously, we might need to cache the - * result of this endpoint to prevent a DOS attack. + * Time to live for cached result. This is particularly useful to cache the + * result of this endpoint to prevent a DOS attack if it is accessed anonymously. * @return time to live in milliseconds (default 1000) */ public long getTimeToLive() {