extend cache to 7 days

This commit is contained in:
Kenneth Kehl
2024-05-13 07:19:14 -07:00
parent 36f6621f71
commit 9cfb571e8f
2 changed files with 6 additions and 4 deletions

View File

@@ -10,8 +10,9 @@ from app.clients import AWS_CLIENT_CONFIG
FILE_LOCATION_STRUCTURE = "service-{}-notify/{}.csv"
JOBS = ExpiringDict(max_len=1000, max_age_seconds=3600 * 4)
# Temporarily extend cache to 7 days
ttl = 60 * 60 * 24 * 7
JOBS = ExpiringDict(max_len=1000, max_age_seconds=ttl)
JOBS_CACHE_HITS = "JOBS_CACHE_HITS"