Merge pull request #12915 from ulisseslima/bael-5696_quick-fix_ttl

bael-5696 quick fix
This commit is contained in:
Loredana Crusoveanu 2022-10-25 10:22:44 +03:00 committed by GitHub
commit 5134c890c4
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ public class HotelService {
}
@CacheEvict(value = "hotels", allEntries = true)
@Scheduled(fixedRateString = "43200")
@Scheduled(fixedRateString = "${caching.spring.hotelListTTL}")
public void emptyHotelsCache() {
logger.info("emptying Hotels cache");
}