Created
December 5, 2017 14:40
-
-
Save odedia/75760e69743de9a369258bb0c48481cc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Scheduled(cron = "${spring.session.cleanup.cron.expression:0 * * * * *}") | |
| public void cleanupExpiredSessions() { | |
| this.expirationPolicy.cleanExpiredSessions(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment