Merge pull request #12915 from ulisseslima/bael-5696_quick-fix_ttl
bael-5696 quick fix
This commit is contained in:
commit
5134c890c4
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue