Initial attempt to update footprints in transaction

This commit is contained in:
2024-09-03 15:59:01 +02:00
parent e267481f71
commit 508978d586
2 changed files with 20 additions and 3 deletions

View File

@@ -24,7 +24,8 @@ func ArchiveJob(job *schema.Job, ctx context.Context) (*schema.JobMeta, error) {
}
scopes := []schema.MetricScope{schema.MetricScopeNode}
if job.NumNodes <= 8 { // FIXME: Add a config option for this
// FIXME: Add a config option for this
if job.NumNodes <= 8 {
// This will add the native scope if core scope is not available
scopes = append(scopes, schema.MetricScopeCore)
}