mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-17 02:32:32 -05:00
lets make the 7 day cache work properly
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user