Refactor: Archive workers and Tasks

Work in progress
This commit is contained in:
2024-07-14 11:18:38 +02:00
parent e348ec74fd
commit 01a4d33514
10 changed files with 256 additions and 161 deletions

View File

@@ -162,7 +162,7 @@ func LoadData(job *schema.Job,
ttl = 2 * time.Minute
}
prepareJobData(job, jd, scopes)
prepareJobData(jd, scopes)
return jd, ttl, size
})
@@ -266,7 +266,6 @@ func cacheKey(
// statisticsSeries should be available so that a min/median/max Graph can be
// used instead of a lot of single lines.
func prepareJobData(
job *schema.Job,
jobData schema.JobData,
scopes []schema.MetricScope,
) {