mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 01:47:41 +00:00
This is a wrapper over lru_cache function. It adds following features on
top of lru_cache:
* It will not cache result of functions with unhashable arguments.
* It will clear cache whenever zerver.lib.cache.KEY_PREFIX changes.
20 KiB
20 KiB