diff --git a/cads_processing_api_service/config.py b/cads_processing_api_service/config.py index 901a4fc..040c69c 100644 --- a/cads_processing_api_service/config.py +++ b/cads_processing_api_service/config.py @@ -17,6 +17,7 @@ # See the License for the specific language governing permissions and # limitations under the License. +import functools import os import random @@ -61,6 +62,7 @@ ) +@functools.lru_cache def load_download_nodes(download_nodes_file: str) -> list[str]: download_nodes = [] try: