Skip to content

Commit 724289b

Browse files
committed
chore: remove lru cache
1 parent 528f5a8 commit 724289b

File tree

1 file changed

+1
-3
lines changed
  • tests/e2e/utils/data_fetcher

1 file changed

+1
-3
lines changed

tests/e2e/utils/data_fetcher/logs.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import json
22
from datetime import datetime
3-
from functools import lru_cache
43
from typing import List, Optional, Union
54

65
import boto3
@@ -24,8 +23,7 @@ class Log(BaseModel):
2423
extra_info: Optional[str]
2524

2625

27-
@lru_cache(maxsize=10, typed=False)
28-
@retry(ValueError, delay=1, jitter=1, tries=20)
26+
@retry(ValueError, delay=2, jitter=1.5, tries=10)
2927
def get_logs(
3028
lambda_function_name: str, start_time: datetime, log_client: Optional[CloudWatchLogsClient] = None
3129
) -> List[Log]:

0 commit comments

Comments
 (0)