Improve scopes queried by default: adds accels

This commit is contained in:
Christoph Kluge 2023-06-14 17:28:40 +02:00
parent 222e697b2f
commit 2b9afe8f1d

View File

@ -50,7 +50,13 @@
...(ccconfig[`job_view_polarPlotMetrics:${job.cluster}`] || ccconfig[`job_view_polarPlotMetrics`]),
...(ccconfig[`job_view_nodestats_selectedMetrics:${job.cluster}`] || ccconfig[`job_view_nodestats_selectedMetrics`])])
startFetching(job, [...toFetch], job.numNodes > 2 ? ["node"] : ["node", "core"])
// Select default Scopes to load
if (job.numAcc === 0) { // No Accels
startFetching(job, [...toFetch], job.numNodes > 2 ? ["node"] : ["node", "core"])
} else { // Accels
startFetching(job, [...toFetch], job.numNodes > 2 ? ["node", "accelerator"] : ["node", "accelerator", "core"])
}
isFetched = toFetch
})