lets make the 7 day cache work properly

This commit is contained in:
Kenneth Kehl
2024-06-06 13:05:56 -07:00
parent 065d2db74e
commit aed0b7bc68
2 changed files with 3 additions and 7 deletions

View File

@@ -12,7 +12,7 @@ FILE_LOCATION_STRUCTURE = "service-{}-notify/{}.csv"
# Temporarily extend cache to 7 days
ttl = 60 * 60 * 24 * 7
JOBS = ExpiringDict(max_len=1000, max_age_seconds=ttl)
JOBS = ExpiringDict(max_len=20000, max_age_seconds=ttl)
JOBS_CACHE_HITS = "JOBS_CACHE_HITS"