Bug 28413: Reduce background job worker memory footprint
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 21 May 2021 09:57:20 +0000 (11:57 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 5 Nov 2021 11:17:08 +0000 (12:17 +0100)
commit3a060bbb2f0e67ae43666834027800b5bf7a7180
treed561077a467f67fc36ae5a204efc12b111dcbb87
parent4ba18f5f4497c13d961bc2f1d7ee7fc992baeaf0
Bug 28413: Reduce background job worker memory footprint

It's loading the modules in RAM then forks.
Then do not need it to have them loaded in the parent process (the worker/daemon).

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/BackgroundJob.pm