[open-ils-commits] [GIT] Evergreen ILS branch rel_2_2 updated. 8d5af5fc47edce662f96d57914945c72196c6155
Evergreen Git
git at git.evergreen-ils.org
Fri Apr 12 14:58:22 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, rel_2_2 has been updated
via 8d5af5fc47edce662f96d57914945c72196c6155 (commit)
from b157d6aad28ed25a6f19f95036180d0dab55273c (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 8d5af5fc47edce662f96d57914945c72196c6155
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 792f53b..499b6c6 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
@@ -1967,7 +1967,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