We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b085652 commit a1dcfb4Copy full SHA for a1dcfb4
app/services/location/jhu.py
@@ -46,7 +46,7 @@ async def get(self, loc_id): # pylint: disable=arguments-differ
46
)
47
48
49
-@cached(cache=TTLCache(maxsize=32, ttl=1800))
+@cached(cache=TTLCache(maxsize=4, ttl=1800))
50
async def get_category(category):
51
"""
52
Retrieves the data for the provided category. The data is cached for 30 minutes locally, 1 hour via shared Redis.
0 commit comments