[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
Fri Feb 19 15:35:16 CET 2021


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

--- Comment #15 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Hmm, I'm not contemplating whether we should actually be de-coupling 'jobs'
from 'queues'.. or letting the 'type' option take a negation.

Right now we just have the two jobs (three when this patch is added).. but if
we see it getting real adoption we could end up with lots of different jobs..
it would become tedious listing all but one.. as such we might either want to
say !update_elastic_index for one worker whilst update_elastic_index for
another.. rather than having to list all remaining jobs on your non elastic
worker.

Other queuing systems appear to use 'queues' as a second distinction instead..
so we could have a 'default' queue that the non-elastic indexing tasks go onto
and another for the elastic one.. that way we can differentiate into groups
rather than having to list all types..

Thoughts?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list