Bug 33576: (QA follow-up) Polish comment, typo

No test plan.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Marcel de Rooy 2023-04-24 09:27:43 +00:00 committed by Tomas Cohen Arazi
parent 9af2f3d12c
commit f7b1c85f73
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
2 changed files with 2 additions and 3 deletions

View File

@ -716,7 +716,7 @@ sub BatchCommitRecords {
SetImportBatchStatus($batch_id, 'imported');
# Moved final commit to the end
# final commit should be before Elastic background indexing in order to find job data
$schema->txn_commit;
if ( @biblio_ids ) {
@ -724,7 +724,6 @@ sub BatchCommitRecords {
$indexer->index_records( \@biblio_ids, "specialUpdate", "biblioserver" );
}
return ($num_added, $num_updated, $num_items_added, $num_items_replaced, $num_items_errored, $num_ignored);
}

View File

@ -29,7 +29,7 @@ Koha::BackgroundJob::UpdateElasticIndex - Update Elastic index
This is a subclass of Koha::BackgroundJob.
While most background jobs provide a I<process> method, the ES indexing has its
own dedicated worker: misc/workers/es_index_daemon.pl
own dedicated worker: misc/workers/es_indexer_daemon.pl
That worker handles all job processing.