MicroFish/backend/app
harshitanand e58d4f1cc5 fix: add max_items limit to fetch_all_edges to prevent unbounded memory growth (#513)
fetch_all_nodes already had a max_items guard (default 2000) but
fetch_all_edges had no such safeguard, allowing unbounded memory growth
on graphs with large numbers of edges.

Add _MAX_EDGES = 5000 constant and mirror the same loop-guard pattern
from fetch_all_nodes: cap the result list, emit a warning log, and
break pagination once the limit is reached.
2026-07-22 19:42:00 +08:00
..
api Merge pull request #305: fix graph tasks endpoint crash 2026-07-22 19:39:57 +08:00
models feat(i18n): replace hardcoded Chinese in backend SSE progress messages 2026-04-01 16:32:10 +08:00
services fix: sample long text for ontology generation 2026-04-26 23:01:02 +02:00
utils fix: add max_items limit to fetch_all_edges to prevent unbounded memory growth (#513) 2026-07-22 19:42:00 +08:00
__init__.py Implement Report Agent for automated report generation and interaction 2025-12-09 15:10:55 +08:00
config.py Merge pull request #445: disable Flask debug mode by default 2026-07-22 19:40:39 +08:00