-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Aggregate worker metrics in background (#355)
Previously, we would need to manually send the metric data to the main thread, then write the metric there. This PR updates worker metrics so it is done seamlessly in the background, metrics can be written as normal regardless of whether in the main thread or not. This is achieved by sending all metrics collected within a worker to the main thread, and then aggregating them there.
- Loading branch information
1 parent
19a125d
commit 35bc949
Showing
4 changed files
with
26 additions
and
42 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
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
This file was deleted.
Oops, something went wrong.
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