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

Replace Updating Stats useEffect Hook with useInterval #2462

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

andrewbaldwin44
Copy link
Collaborator

Fixes #2399 2399

We should use a useInterval hook rather than a useEffect hook when updating the data for the charts and tables. This removes the assumption that the stats data will change with each re-fetch

@cyberw cyberw merged commit 44e7e25 into locustio:master Nov 13, 2023
14 checks 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.

Incorrect RPS when decreasing the number of users
2 participants