From a4ef3b5426070c7df14685002952787c3bf27a13 Mon Sep 17 00:00:00 2001 From: "singh.gurpreet" Date: Sun, 19 Feb 2023 14:00:08 +0530 Subject: [PATCH] modified the default cache size of python language server from 32 to 4 --- pyls/config/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyls/config/config.py b/pyls/config/config.py index 0e124e2c..4b865a6f 100644 --- a/pyls/config/config.py +++ b/pyls/config/config.py @@ -91,7 +91,8 @@ def process_id(self): def capabilities(self): return self._capabilities - @lru_cache(maxsize=32) + #@lru_cache(maxsize=32) + @lru_cache(maxsize=4) def settings(self, document_path=None): """Settings are constructed from a few sources: