Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/openjd/adaptor_runtime_client/base_client_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def _request_next_action(self) -> _Tuple[int, str, _Action | None]:
action = _Action(response_body["name"], response_body["args"])
return response.status, response.reason, action

@_lru_cache(maxsize=None)
@_lru_cache(maxsize=100000)
def map_path(self, path: str) -> str:
"""Sending a get request to the server on the /path_mapping endpoint.
This will be used to get the Adaptor to map a given path.
Expand All @@ -149,7 +149,7 @@ def map_path(self, path: str) -> str:
f"Server response: Status: {int(response.status)}, Response: '{reason}'",
)

@_lru_cache(maxsize=None)
@_lru_cache(maxsize=100000)
def path_mapping_rules(self) -> _List[PathMappingRule]:
"""Sending a get request to the server on the /path_mapping_rules endpoint.
This will be used to get the Adaptor to map a given path.
Expand Down