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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 27 Jan 2023 18:15:47 +0000 (15:15 -0300)
commita85a6bc4d4a1c15a065dc8b188d6de0c23f99271
treecc5e93352e2beb02533818ab4f37a1e92b9dfa43
parent7818717f3c69bcaf5953d6139f6a104dfb1c4ee7
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>
Koha/BackgroundJob.pm