diff --git a/src/enrichment.py b/src/enrichment.py index 6672e072..e70c8013 100644 --- a/src/enrichment.py +++ b/src/enrichment.py @@ -306,6 +306,7 @@ async def detect_license_changes(inventory: Dict) -> List[Dict]: log_event("[License] No repos with stored licenses to check") return [] + candidates = candidates[:MAX_REPOS_DEFAULT] # cap to same limit as activity enrichment log_event(f"[License] Checking {len(candidates)} repos for license changes") changes: List[Dict] = []