MicroFish/backend
MiroFish Contributor 64e6520f52 fix: add max_items limit to fetch_all_edges to prevent unbounded memory growth
The fetch_all_nodes function has a max_items parameter (default 2000) to
prevent fetching too many items, but fetch_all_edges was missing this
safeguard. This could cause memory issues with graphs that have a large
number of edges.

Added _MAX_EDGES = 5000 as the default limit for edges, matching the
pattern already established for nodes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-20 20:23:57 +08:00
..
app fix: add max_items limit to fetch_all_edges to prevent unbounded memory growth 2026-04-20 20:23:57 +08:00
scripts Add UTF-8 encoding support for Windows in simulation_runner.py and run_parallel_simulation.py to resolve character encoding issues with third-party libraries. 2025-12-26 18:14:57 +08:00
pyproject.toml fix(file_parser): handle non-UTF-8 encoded text files with automatic encoding detection 2026-01-22 18:28:37 +08:00
requirements.txt fix(file_parser): handle non-UTF-8 encoded text files with automatic encoding detection 2026-01-22 18:28:37 +08:00
run.py Add UTF-8 encoding support for Windows console in run.py and logger.py to prevent character encoding issues 2025-12-26 17:58:48 +08:00
uv.lock fix(file_parser): handle non-UTF-8 encoded text files with automatic encoding detection 2026-01-22 18:28:37 +08:00