Skip to content

Commit

Permalink
Separate proj and retro caches
Browse files Browse the repository at this point in the history
  • Loading branch information
matejak committed Jun 13, 2024
1 parent 9747891 commit 1c770e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion estimage/webapp/routers.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def __init__(self, ** kwargs):
self.cards_tree_without_duplicates = utilities.reduce_subsets_from_sets(cards_list)


@CACHE.cached(timeout=60, key_prefix=lambda: gen_cache_key("get_all_cards_by_id"))
@CACHE.cached(timeout=60, key_prefix=lambda: gen_cache_key(f"get_all_cards_by_id-{self.mode}"))
def get_all_cards_by_id(self):
ret = self.cards_io.get_loaded_cards_by_id(self.card_class)
return ret
Expand Down

0 comments on commit 1c770e0

Please sign in to comment.