[open-ils-commits] [GIT] Evergreen ILS branch rel_2_3 updated. 432cab084e7dc92b10091e1a98925975bc7b360e
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_3 has been updated
via 432cab084e7dc92b10091e1a98925975bc7b360e (commit)
from 47da46d7875f8d93ed86775b02cfde22f038282c (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 432cab084e7dc92b10091e1a98925975bc7b360e
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 2529d6b..b54694a 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
@@ -1867,7 +1867,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