forked from TrueCloudLab/frostfs-node
abfcc7498c
In previous implementation of Policer's job queue the same list of objects for processing was selected at each iteration. This was caused by consistent return of `engine.List` function. Use `rand.Shuffle` function to compose pseudo-random list of all objects in order to approximately evenly distribute objects to work. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru> |
||
---|---|---|
.. | ||
check.go | ||
policer.go | ||
process.go | ||
queue.go |