[open-ils-commits] [GIT] Evergreen ILS branch master updated. 2fb125be8ae168cef03c947cedcc9c7db9ba4e28

Evergreen Git git at git.evergreen-ils.org
Fri Apr 12 14:58:21 EDT 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  2fb125be8ae168cef03c947cedcc9c7db9ba4e28 (commit)
      from  3288d77eab0ea26ed5a8d2be11140316fec10615 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2fb125be8ae168cef03c947cedcc9c7db9ba4e28
Author: Bill Erickson <berick at esilibrary.com>
Date:   Tue Apr 9 13:45:24 2013 -0400

    TPAC bucket item retrieval operates in streaming mode
    
    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 at esilibrary.com>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
index 87b53ec..f98645b 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
@@ -1881,7 +1881,8 @@ sub bib_container_items_via_search {
             flesh => 1,
             flesh_fields => {"cbrebi" => \@flesh_fields}
         }
-    ]);
+    ], {substream => 1});
+
     unless ($items) {
         $logger->warn(
             "bib_container_items_via_search() couldn't get bucket items: " .

-----------------------------------------------------------------------

Summary of changes:
 .../perlmods/lib/OpenILS/Application/AppUtils.pm   |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list