Copy location API for BC OpenSRF 2.5 repair
authorBill Erickson <berickxx@gmail.com>
Tue, 27 Mar 2018 16:21:37 +0000 (12:21 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
Override the default OpenSRF message chunking settings by setting
max_chunk_size => 0 on the copy location fetch-all API, which returns a
large collection of data.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/CopyLocations.pm

index 23061ca..e0d7c8f 100644 (file)
@@ -15,6 +15,7 @@ __PACKAGE__->register_method(
     api_name        => "open-ils.circ.copy_location.retrieve.all",
     method      => 'cl_retrieve_all',
     argc            =>  2,
+    max_chunk_size => 0,
     signature   => q/
         Retrieves the ranged set of copy locations for the requested org.
         If no org is provided, all copy locations are returned