Skip to content

Commit de8fabc

Browse files
committed
Update lru_cache maxsize to 2 to match the target options
1 parent 4a58842 commit de8fabc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gnomad_qc/v3/resources/resource_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from typing import Literal
66

77

8-
@functools.lru_cache(maxsize=None)
8+
@functools.lru_cache(maxsize=2)
99
def show_v3_migration_warning(target: Literal["annotations", "sample_qc"]) -> None:
1010
"""
1111
Show GCS migration warning for v3 resources (only once per target per session).

0 commit comments

Comments
 (0)