[Koha-bugs] [Bug 27344] Implement Elastic's update_index_background using Koha::BackgroundJob
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Mar 30 15:37:11 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27344
Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #132586|0 |1
is obsolete| |
--- Comment #34 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 132613
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132613&action=edit
Bug 27344: Replace --job-type by --job-queue
This patch adds a new column background_jobs.queue, which default to
'default'
By default, new jobs are enqueued into this default queue, and the
background job worker will subscribe to the default queue unless told
otherwise by the --job-queue option
The new job UpdateElasticIndex is automatically enqueued in another
queue named 'index'
So you can have 'default' worker with
misc/background_jobs_worker.pl
and a dedicated indexing worker with
misc/background_jobs_worker.pl --job-queue index
This is to address bug 27344 comment #15
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list