]> git.evergreen-ils.org Git - Evergreen.git/commit
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)
committerBill Erickson <berickxx@gmail.com>
Fri, 21 Jul 2017 16:33:02 +0000 (12:33 -0400)
commit77211d14580ddc09f3bd14c9756c20539c53528a
tree9d835995f4f39942b765c0040a3891d22f8e1322
parentd42b64946a3187709e0c11d1b35288170eb6a8e7
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