Skip to content

Commit

Permalink
Fixed lru_cache for python <= 3.7 (#31091)
Browse files Browse the repository at this point in the history
  • Loading branch information
CelianR authored Nov 15, 2024
1 parent 7fe2d8e commit 406af3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/libs/common/gomodules.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ def dependency_path(self, agent_version):
AGENT_MODULE_PATH_PREFIX = "github.com/DataDog/datadog-agent/"


@lru_cache
@lru_cache(maxsize=16)
def get_default_modules(base_dir: Path | None = None) -> dict[str, GoModule]:
"""Load the default modules from the modules.yml file.
Expand Down

0 comments on commit 406af3d

Please sign in to comment.