Ensure that all calls to Fielder's open-ils.fielder.flattened_search API
start returning data within a reasonable amount of time by applying a
max_bundle_count of 5. A value of 5 hopes to strike a balance between
a prompt initial response and being too chatty on the network.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
api_name => 'open-ils.fielder.flattened_search',
stream => 1,
argc => 5,
+ # Fielder is often used for large data streams, sometimes with
+ # individual responses being fairly small and aggressively bundled
+ # by OpenSRF. Apply a max_bundle_count as a stop-gap to ensure
+ # all API calls start returning data in a reasonable amount of time.
+ max_bundle_count=> 5,
signature => {
params => [
{name => "auth", type => "string", desc => "auth token"},