Merge branch '1.2.x'

pull/2695/head
Andy Wilkinson 10 years ago
commit ebf68978e8

@ -151,7 +151,7 @@ public class HealthMvcEndpoint implements MvcEndpoint, EnvironmentAware {
if (this.cached == null) {
return true;
}
return (accessTime - this.lastAccess) > this.delegate.getTimeToLive();
return (accessTime - this.lastAccess) >= this.delegate.getTimeToLive();
}
private boolean exposeHealthDetails(Principal principal) {

Loading…
Cancel
Save