add dynamic duration to leaderboard

This commit is contained in:
Chuck
2025-09-10 22:54:24 -04:00
parent cd80745dcb
commit f8ab022da9
3 changed files with 95 additions and 9 deletions

View File

@@ -581,6 +581,11 @@ class CacheManager:
'memory_ttl': 172800,
'force_refresh': False
},
'leaderboard': {
'max_age': 604800, # 7 days (1 week) - football rankings updated weekly
'memory_ttl': 1209600, # 14 days in memory
'force_refresh': False
},
# News and odds
'news': {