TPAC bucket item retreive fleshes bib records with large blobs of MARC
data. When a bucket contains a few thousand items, the size of the
data passed around in atomic retreival mode will exceed the typical jabber
max stanza size and result in a failure. Retrieve the records in
streaming mode instead.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
flesh => 1,
flesh_fields => {"cbrebi" => \@flesh_fields}
}
- ]);
+ ], {substream => 1});
+
unless ($items) {
$logger->warn(
"bib_container_items_via_search() couldn't get bucket items: " .