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 b429328 commit bb2ecbdCopy full SHA for bb2ecbd
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=1024, ttl=3600))
+@cached(cache=TTLCache(maxsize=1024, ttl=1800))
50
async def get_category(category):
51
"""
52
Retrieves the data for the provided category. The data is cached for 1 hour.
@@ -129,7 +129,7 @@ async def get_category(category):
129
return results
130
131
132
133
async def get_locations():
134
135
Retrieves the locations from the categories. The locations are cached for 1 hour.
0 commit comments