mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-26 13:29:05 +01:00
Update frontend
This commit is contained in:
parent
cdfa63d5ca
commit
6e9a916a18
2
frontend
2
frontend
@ -1 +1 @@
|
|||||||
Subproject commit 3f3d1fac6b2ea88964ba357ad35688e204d82037
|
Subproject commit e8d82a00a4215457a57735c7d7db7076daca5643
|
@ -66,7 +66,7 @@ func Init(jobArchivePath string, disableArchive bool) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
var cache *lrucache.Cache = lrucache.New(512 * 1024 * 1024)
|
var cache *lrucache.Cache = lrucache.New(128 * 1024 * 1024)
|
||||||
|
|
||||||
// Fetches the metric data for a job.
|
// Fetches the metric data for a job.
|
||||||
func LoadData(job *schema.Job, metrics []string, scopes []schema.MetricScope, ctx context.Context) (schema.JobData, error) {
|
func LoadData(job *schema.Job, metrics []string, scopes []schema.MetricScope, ctx context.Context) (schema.JobData, error) {
|
||||||
@ -126,7 +126,10 @@ func LoadData(job *schema.Job, metrics []string, scopes []schema.MetricScope, ct
|
|||||||
subset[scope] = jm
|
subset[scope] = jm
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
perscope = subset
|
|
||||||
|
if len(subset) > 0 {
|
||||||
|
perscope = subset
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
res[metric] = perscope
|
res[metric] = perscope
|
||||||
|
Loading…
Reference in New Issue
Block a user