Skip to content

Commit

Permalink
Merge pull request #1066 from GSA/fix_cache
Browse files Browse the repository at this point in the history
lets make the 7 day cache work properly
  • Loading branch information
ccostino authored Jun 6, 2024
2 parents 065d2db + aed0b7b commit 66eef3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/aws/s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

# 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"
Expand Down
8 changes: 2 additions & 6 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 66eef3b

Please sign in to comment.