Tpac: fetch bib record piles non-atomicly to avoid large messages
authorBill Erickson <berick@esilibrary.com>
Fri, 19 Aug 2011 13:56:48 +0000 (09:56 -0400)
committerBill Erickson <berick@esilibrary.com>
Fri, 19 Aug 2011 13:56:48 +0000 (09:56 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm

index 3ab34ff..6af3a7a 100644 (file)
@@ -236,7 +236,7 @@ sub fetch_marc_xml_by_id {
         "select" => {"bre" => ["id", "marc"]},
         "from" => {"bre" => {}},
         "where" => {"id" => $id_list}
-    }) or return $self->editor->die_event;
+    }, {substream => 1}) or return $self->editor->die_event;
 
     my $marc_xml = {};
     for my $r (@$results) {