Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix explorer switch aggregator infinite loop #1378

Merged
merged 2 commits into from
Nov 30, 2023

Conversation

jpraynaud
Copy link
Member

@jpraynaud jpraynaud commented Nov 30, 2023

Content

This PR includes a fix to the explorer where the switch of the selected aggregator created an infinite loop that flooded the backend. The fix (temporary) is to use the eslint-disable-line directive in the useEffect().

Pre-submit checklist

  • Branch
    • Crates versions are updated (if relevant)
    • Commit sequence broadly makes sense
    • Key commits have useful messages
  • PR
    • No clippy warnings in the CI
    • Self-reviewed the diff
    • Useful pull request description
    • Reviewer requested

This problems occurred when switchin aggregator and was due to infinite loops
in useEffect(). The fix is to add 'eslint-disable-line' directive.
@jpraynaud jpraynaud self-assigned this Nov 30, 2023
@jpraynaud jpraynaud force-pushed the ensemble/fix-explorer-switch-aggregator branch from 19104cf to 8343f6f Compare November 30, 2023 13:50
@jpraynaud jpraynaud merged commit 426b764 into main Nov 30, 2023
7 checks passed
@jpraynaud jpraynaud deleted the ensemble/fix-explorer-switch-aggregator branch November 30, 2023 15:46
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