mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Merge branch '1.2.x'
This commit is contained in:
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…
Reference in New Issue
Block a user