Skip to content

Commit

Permalink
cache data loaded from config file
Browse files Browse the repository at this point in the history
  • Loading branch information
mcucchi9 committed Oct 10, 2024
1 parent 2744188 commit e5b3f4d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cads_processing_api_service/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import functools
import os
import random

Expand Down Expand Up @@ -61,6 +62,7 @@
)


@functools.lru_cache
def load_download_nodes(download_nodes_file: str) -> list[str]:
download_nodes = []
try:
Expand Down

0 comments on commit e5b3f4d

Please sign in to comment.