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 statistics: Statistics? = null
var rssFeed: RssFeed? = null var rssFeed: RssFeed? = null
// 20 minutes to ms = 1200000 // 10 minutes to ms = 600000
@Scheduled(fixedDelay = 1200000, initialDelay = 0) @Scheduled(fixedDelay = 600000, initialDelay = 0)
fun updateCaches() { fun updateCaches() {
logger.info("Updating the cache!") logger.info("Updating the cache!")