Skip to content

Commit 5036192

Browse files
authored
fix cache for inventory (#389)
1 parent 11b00c3 commit 5036192

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data-collection/deploy/module-inventory.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1261,7 +1261,7 @@ Resources:
12611261
x.isoformat() if isinstance(x, (date, datetime)) else None
12621262
)
12631263
1264-
@lru_cache(maxsize=10000)
1264+
@lru_cache(maxsize=100)
12651265
def assume_session(account_id, region):
12661266
"""assume role in account"""
12671267
partition = boto3.session.Session().get_partition_for_region(region_name=region)

0 commit comments

Comments
 (0)