From: Bill Erickson Date: Thu, 30 Oct 2014 21:09:04 +0000 (-0400) Subject: JBAS-149 reduce clear hold shelf chatter X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=38156e81bf8d9a344d1631ddbf215e4a072a1ede;p=working%2FEvergreen.git 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 --- 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;