Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion src/trustshell/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ async def make_request_with_retry(
"""Make async HTTP request with 401 retry logic"""
try:
response = await client.get(
endpoint, params=query_params, headers=headers, timeout=300
endpoint, params=query_params, headers=headers, timeout=2400
)
response.raise_for_status()
return response
Expand Down
2 changes: 1 addition & 1 deletion src/trustshell/products.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def _get_roots(
endpoint = ANALYSIS_ENDPOINT

# Use the paginated query function
base_params = {"ancestors": ANCESTOR_COUNT, "q": f"{base_purl}@"}
base_params = {"ancestors": ANCESTOR_COUNT, "q": f"purl~{base_purl}@"}
ancestors = paginated_trustify_query(
endpoint, base_params, auth_header, component_name=base_purl
)
Expand Down
Loading