mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 15:31:15 -05:00
Merge pull request #982 from GSA/notify-admin-1381b
extend cache to 7 days
This commit is contained in:
@@ -10,8 +10,9 @@ from app.clients import AWS_CLIENT_CONFIG
|
|||||||
|
|
||||||
FILE_LOCATION_STRUCTURE = "service-{}-notify/{}.csv"
|
FILE_LOCATION_STRUCTURE = "service-{}-notify/{}.csv"
|
||||||
|
|
||||||
|
# Temporarily extend cache to 7 days
|
||||||
JOBS = ExpiringDict(max_len=1000, max_age_seconds=3600 * 4)
|
ttl = 60 * 60 * 24 * 7
|
||||||
|
JOBS = ExpiringDict(max_len=1000, max_age_seconds=ttl)
|
||||||
|
|
||||||
|
|
||||||
JOBS_CACHE_HITS = "JOBS_CACHE_HITS"
|
JOBS_CACHE_HITS = "JOBS_CACHE_HITS"
|
||||||
|
|||||||
Reference in New Issue
Block a user