frostfs-node/pkg/services/policer
Leonard Lyubich abfcc7498c [#715] services/policer: Select pseudo-random list of objects to check
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>
2021-08-25 14:40:12 +03:00
..
check.go [#607] object/head: Make client constructor to work with group address 2021-06-28 15:52:50 +03:00
policer.go [#217] policer: Handler redundant local copy of the object 2021-02-24 20:59:14 +03:00
process.go [#108] services: Implement Policer service 2020-10-21 14:42:51 +03:00
queue.go [#715] services/policer: Select pseudo-random list of objects to check 2021-08-25 14:40:12 +03:00