Lowered global cache update from 20m -> 10m

This commit is contained in:
nise.moe 2024-02-22 15:27:11 +01:00
parent aacbf9f392
commit bebbfd6411

View File

@ -27,8 +27,8 @@ class GlobalCache(
var statistics: Statistics? = null
var rssFeed: RssFeed? = null
// 20 minutes to ms = 1200000
@Scheduled(fixedDelay = 1200000, initialDelay = 0)
// 10 minutes to ms = 600000
@Scheduled(fixedDelay = 600000, initialDelay = 0)
fun updateCaches() {
logger.info("Updating the cache!")