mirror of
https://github.com/nubenetes/awesome-kubernetes.git
synced 2026-08-19 04:16:26 +00:00
fix: cache FILTERED links in inventory to prevent re-evaluating low-quality links
This commit is contained in:
@@ -179,7 +179,9 @@ async def evaluate_extracted_assets(raw_assets: List[Dict]) -> Dict[str, Dict]:
|
||||
eval_data["is_enriched"] = False
|
||||
curator.inventory[norm_url] = eval_data
|
||||
evaluations[url] = {"status": "INCLUDED", **eval_data}
|
||||
else: evaluations[url] = {"status": "FILTERED"}
|
||||
else:
|
||||
evaluations[url] = {"status": "FILTERED"}
|
||||
curator.inventory[norm_url] = {"status": "FILTERED", "score": score, "last_checked": datetime.now().timestamp()}
|
||||
curator._save_inventory()
|
||||
except Exception as e: log_event(f" [!] Batch AI Error: {e}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user