]> git.koha-community.org Git - koha.git/commit
Bug 32561: Prevent worker to run with unecessary modules in memory
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 4 Jan 2023 09:08:06 +0000 (10:08 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 1 Feb 2023 16:08:23 +0000 (16:08 +0000)
commite6d750bfd45964d890b12cef27f7f38e00471a37
treecd0efe4a3b0073a57091eb469cbcee99bf2534af
parentfc4056c80293fddc68f439b472ecec8d3fc68f52
Bug 32561: Prevent worker to run with unecessary modules in memory

Regression of bug 28413, bug 30410 added a "use Koha::Plugins" statement at the top of Koha::BackgroundJob, and so all Koha module are loaded by the worker on startup.

See bug 28413 for more info

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit a85a6bc4d4a1c15a065dc8b188d6de0c23f99271)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
(cherry picked from commit 16ecdc2f8edfcdc77214751caa049e46b237184c)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Koha/BackgroundJob.pm