mirror of https://github.com/zulip/zulip.git
i18n: Remove size limit on lru_cache for get_language_list.
Really just for consistency, since the size will be at most 1 anyway. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
0451d1e47f
commit
4d903dcc94
|
@ -13,7 +13,7 @@ from django.utils import translation
|
|||
from zerver.lib.request import RequestNotes
|
||||
|
||||
|
||||
@lru_cache()
|
||||
@lru_cache(None)
|
||||
def get_language_list() -> List[Dict[str, Any]]:
|
||||
path = os.path.join(settings.DEPLOY_ROOT, "locale", "language_name_map.json")
|
||||
with open(path, "rb") as reader:
|
||||
|
|
Loading…
Reference in New Issue