https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27783
--- Comment #35 from Tomás Cohen Arazi <[email protected]> --- (In reply to David Cook from comment #34) > (In reply to Jonathan Druart from comment #33) > > I am not sure I am understanding what bring 'queue' that cannot be done with > > the job_type. > > > > We could have --job-type and a negation for this option. > > > > perl background_jobs_worker.pl --job-type update_elastic_index > > => Run only indexation tasks > > > > perl background_jobs_worker.pl --not-job-type update_elastic_index > > => Run all but indexation tasks > > I think that would get really messy/confusing as the number of job > types/queues grows. > > I still think pointing background_jobs_worker.pl at a configuration file > makes the most sense. Right, as the job types grows, and we don't even have control of them (plugins) we need some other way of grouping them more generally. Otherwise we cannot do cool things like installing a plugin and it will just work. We would need to set a worker for that. I'm sure you will insist on the ---not use for that, but think how we would solve the real-time vs. no hurry use cases in a generic way. It is plain straight-forward to just 'subscribe to a queue' for authors. -- 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/
