mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-27 08:38:58 +00:00
16a91c35ec
load_all fetched policies/users/user-policies by passing the FULL remaining list to load_*_concurrent every iteration and then split_off(32), so each item was re-fetched once per preceding chunk — O(n^2) redundant loads on startup for >32 items. Replace the split_off loops with chunks(32) so each item is fetched exactly once. Behavior-preserving (cache inserts were already idempotent).