Skip to content

fix: add max_items limit to fetch_all_edges to prevent unbounded memory growth#658

Open
MD-Mushfiqur123 wants to merge 1 commit into
666ghj:mainfrom
MD-Mushfiqur123:fix/fetch-all-edges-max-items
Open

fix: add max_items limit to fetch_all_edges to prevent unbounded memory growth#658
MD-Mushfiqur123 wants to merge 1 commit into
666ghj:mainfrom
MD-Mushfiqur123:fix/fetch-all-edges-max-items

Conversation

@MD-Mushfiqur123
Copy link
Copy Markdown

Adds a max_items parameter (default 1000) to fetch_all_edges in backend/app/utils/zep_paging.py, mirroring the existing behavior in fetch_all_nodes. Prevents unbounded memory growth when graphs have a very large number of edges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant