mirror of
https://github.com/project-zot/zot.git
synced 2024-12-30 22:34:13 -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:
parent
4fb1e756c4
commit
8e7b2d2047
1 changed files with 1 additions and 1 deletions
|
@ -1974,7 +1974,7 @@ func (is *ImageStore) PopulateStorageMetrics(interval time.Duration, sch *schedu
|
||||||
MaxDelay: 15, //nolint:gomnd
|
MaxDelay: 15, //nolint:gomnd
|
||||||
}
|
}
|
||||||
|
|
||||||
sch.SubmitGenerator(generator, interval, scheduler.LowPriority)
|
sch.SubmitGenerator(generator, interval, scheduler.HighPriority)
|
||||||
}
|
}
|
||||||
|
|
||||||
type blobStream struct {
|
type blobStream struct {
|
||||||
|
|
Loading…
Reference in a new issue