Merge pull request #3037 from ajbeamon/status-busy-use-new-field

Use the updated field name in status when fetching process busyness info
This commit is contained in:
Evan Tschannen 2020-05-01 23:02:54 -07:00 committed by GitHub
commit 17815fb6bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -843,7 +843,7 @@ ACTOR static Future<JsonBuilderObject> processStatusFetcher(
double networkMetricsElapsed = networkMetrics.getDouble("Elapsed");
try {
double runLoopBusy = networkMetrics.getDouble("PriorityBusy1");
double runLoopBusy = networkMetrics.getDouble("PriorityStarvedBelow1");
statusObj["run_loop_busy"] = runLoopBusy / networkMetricsElapsed;
}
catch(Error &e) {