bael-5696 quick fix
Using variable instead of fixed value.
This commit is contained in:
parent
3a579f90ff
commit
81a9c85894
|
@ -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