https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32594

--- Comment #4 from Jonathan Druart <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to