LP#1705731: background batch MARC edits now report status less verbosely
authorGalen Charlton <gmc@equinoxinitiative.org>
Thu, 20 Jul 2017 20:17:12 +0000 (16:17 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Fri, 18 Aug 2017 12:02:51 +0000 (08:02 -0400)
commit23877cf8483b836b4f0eebbbe40c6217f48413b1
treed2d154315197a57daceb044d93eb8efe2f9c27fa
parent9da73fbfadf13316177ad599072864baeae7a70d
LP#1705731: background batch MARC edits now report status less verbosely

Rather than repeatedly inserting and fetching potentially
very large arrays of per-record status statements from the
anon cache, batch MARC edits that are run in the background
now report counts.

This patch changes how open-ils.cat.container.template_overlay.background
populates the anonymous cache; note that streaming status updates
if calling open-ils.cat.container.template_overlay instead are
*not* changed.

To test
-------
[1] Set up a MARC Batch Edit run using a reasonably large bucket
    as a source records.
[2] Verify that progress is reported correctly during the run.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/TemplateBatchBibUpdate.pm