]> 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)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Tue, 31 Jan 2023 14:15:15 +0000 (14:15 +0000)
commit16ecdc2f8edfcdc77214751caa049e46b237184c
treea2714b087980c00d8155fb14aee05ec569df014a
parent8a28f6e2595997604e11355b49bffb5b90979113
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>
Koha/BackgroundJob.pm