[Koha-bugs] [Bug 32594] Add a dedicated ES indexing background worker
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jan 10 16:23:03 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32594
--- Comment #4 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
On the other hand... we are having the Koha module loaded already, and it
cannot be more efficient than that. I wanted to avoid a different script for a
specific job type, but actually I am inclined to agree with the approach.
My first idea was to have a Koha::BackgroundJobs::UpdateElasticIndex (notice
the *s*) to process several jobs. We would send the job ids from an array
constructed from the worker, with something in the config like {
background_jobs: { update_elastic_index: { batch: 10 } } } to process per batch
of 10. But it makes things more complicated and we don't want that for now.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list