-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Update workerStats chart creation and update logic
The code changes refactor the logic for creating and updating the workerStats chart in the dashboard. Instead of clearing the previous content and recreating the chart every time, the code now checks if the chart exists and creates it only if it doesn't. Additionally, the chart data is updated with the latest worker statistics. This improves the efficiency and performance of the chart rendering.
- Loading branch information
Showing
1 changed file
with
76 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters