Skip to content

Commit

Permalink
refactor: reduce size of ttl cache
Browse files Browse the repository at this point in the history
  • Loading branch information
alycejenni committed Jul 12, 2024
1 parent 9a875a4 commit 28994d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/nhm/lib/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from cachetools import cached, TTLCache


@cached(cache=TTLCache(maxsize=1024, ttl=300))
@cached(cache=TTLCache(maxsize=10, ttl=300))
def get_iiif_status():
health = {'ping': False}

Expand Down

0 comments on commit 28994d3

Please sign in to comment.