Skip to content

Fix infinite fetch loop#101

Merged
jordalgo merged 1 commit intolibbpf:masterfrom
jordalgo:fix_infinite_fetch_loop
Dec 3, 2025
Merged

Fix infinite fetch loop#101
jordalgo merged 1 commit intolibbpf:masterfrom
jordalgo:fix_infinite_fetch_loop

Conversation

@jordalgo
Copy link
Collaborator

@jordalgo jordalgo commented Dec 3, 2025

When loading content from the url param,
we were entering an infinite loop because
the useEffect to fetch the content was
dependent upon a function that was getting
re-created when the stored logs were
getting updated. So every time we fetched,
we updated the stored logs, and round
and round we went.

When loading content from the url param,
we were entering an infinite loop because
the `useEffect` to fetch the content was
dependent upon a function that was getting
re-created when the stored logs were
getting updated. So every time we fetched,
we updated the stored logs, and round
and round we went.
@jordalgo jordalgo merged commit 8a6c7d9 into libbpf:master Dec 3, 2025
1 check passed
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.

2 participants