mirror of
				https://github.com/ClusterCockpit/cc-backend
				synced 2025-10-31 07:55:06 +01:00 
			
		
		
		
	Improve scopes queried by default: adds accels
This commit is contained in:
		| @@ -50,7 +50,13 @@ | |||||||
|             ...(ccconfig[`job_view_polarPlotMetrics:${job.cluster}`] || ccconfig[`job_view_polarPlotMetrics`]), |             ...(ccconfig[`job_view_polarPlotMetrics:${job.cluster}`] || ccconfig[`job_view_polarPlotMetrics`]), | ||||||
|             ...(ccconfig[`job_view_nodestats_selectedMetrics:${job.cluster}`] || ccconfig[`job_view_nodestats_selectedMetrics`])]) |             ...(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"]) |             startFetching(job, [...toFetch], job.numNodes > 2 ? ["node"] : ["node", "core"]) | ||||||
|  |         } else { // Accels | ||||||
|  |             startFetching(job, [...toFetch], job.numNodes > 2 ? ["node", "accelerator"] : ["node", "accelerator", "core"]) | ||||||
|  |         } | ||||||
|  |          | ||||||
|         isFetched = toFetch |         isFetched = toFetch | ||||||
|     }) |     }) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user