0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00

fix(metrics): one-time tasks should not be starved (#2053)

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
Ramkumar Chinchani 2023-11-16 22:58:15 -08:00 committed by GitHub
parent 4fb1e756c4
commit 8e7b2d2047
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1974,7 +1974,7 @@ func (is *ImageStore) PopulateStorageMetrics(interval time.Duration, sch *schedu
MaxDelay: 15, //nolint:gomnd
}
sch.SubmitGenerator(generator, interval, scheduler.LowPriority)
sch.SubmitGenerator(generator, interval, scheduler.HighPriority)
}
type blobStream struct {