Skip to content

Commit

Permalink
lets make the 7 day cache work properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth Kehl committed Jun 6, 2024
1 parent 065d2db commit aed0b7b
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 aed0b7b

Please sign in to comment.