[Koha-bugs] [Bug 27434] Task Scheduler should use classes as job types
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Mar 25 16:07:02 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27434
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tomascohen at gmail.com
See Also| |https://bugs.koha-community
| |.org/bugzilla3/show_bug.cgi
| |?id=30350
Status|NEW |In Discussion
--- Comment #7 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
I filed bug 30350, which implements one line that was present on this bug (I
didn't know about). The one removing the codes allow-list from
background_job_worker.pl and reusing Koha::BackgroundJob::type_to_class_mapping
instead.
I think, overall, having an intermediate method that provides an allow-list is
good. Inside that method I expect to query for plugin-implemented tasks to be
added on this 'core' mapping we are building for core-defined tasks.
The last few days I've filed several bugs for polishing the area. Maybe we can
delay this enhancement until it is clear how much we gain/loose.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list