JBAS-149 reduce clear hold shelf chatter
authorBill Erickson <berickxx@gmail.com>
Thu, 30 Oct 2014 21:09:04 +0000 (17:09 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
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 <berickxx@gmail.com>
Conflicts:
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm

Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm

index 1dee83d..a9dccb0 100644 (file)
@@ -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;