This commit is contained in:
Stephane Nicoll 2017-11-23 13:52:58 +01:00
parent c748a009b0
commit c6709899db
1 changed files with 2 additions and 2 deletions

View File

@ -226,11 +226,11 @@ Endpoints can be customized by using Spring properties. You can change whether a
endpoint is `enabled` and the amount of time it will cache responses.
For example, the following `application.properties` changes the time-to-live of the
`beans` endpoint and also enables `shutdown`:
`beans` endpoint to 10 seconds and also enables `shutdown`:
[source,properties,indent=0]
----
management.endpoint.beans.cache.time-to-live=10
management.endpoint.beans.cache.time-to-live=10s
management.endpoint.shutdown.enabled=true
----