From 38156e81bf8d9a344d1631ddbf215e4a072a1ede Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Thu, 30 Oct 2014 17:09:04 -0400 Subject: [PATCH] JBAS-149 reduce clear hold shelf chatter Change the client notification update batch size from 25 to 50 to reduce the overall number of update messages sent to the client in half. This reduces the likelihood of communication failures between server/XUL for long running, streaming requests. Signed-off-by: Bill Erickson Conflicts: Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm --- Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm index 1dee83dae3..a9dccb0f24 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm @@ -3689,7 +3689,7 @@ sub clear_shelf_process { my @holds; my @canceled_holds; # newly canceled holds - $chunk_size ||= 25; # chunked status updates + $chunk_size ||= 50; # chunked status updates $client->max_chunk_size($chunk_size) if (!$client->can('max_bundle_size') && $client->can('max_chunk_size')); my $counter = 0; -- 2.11.0