@@ -, +, @@ --- misc/cronjobs/holds/build_holds_queue.pl | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) --- a/misc/cronjobs/holds/build_holds_queue.pl +++ a/misc/cronjobs/holds/build_holds_queue.pl @@ -287,6 +287,7 @@ sub MapItemsToHoldRequests { @pull_branches = @branches_to_use; } else { @pull_branches = sort keys %items_by_branch; + shuffle(@pull_branches) if C4::Context->preference("RandomizeHoldsQueueWeight"); } foreach my $branch (@pull_branches) { next unless exists $items_by_branch{$branch} and --