mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-11-10 08:57:25 +01:00
Improve scopes queried by default: adds accels
This commit is contained in:
parent
222e697b2f
commit
2b9afe8f1d
@ -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`])])
|
||||
|
||||
// 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
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user