Koha-clms/misc/workers
Nick Clemens 6b7db3cfb4
Bug 36549: Use Parallel::ForkManager in es_indexer_daemon
This patch copies the implementation from the general background
worked into the es_indexer daemon

Note: There is a 'sleep(10)' in the general indexer and I copied it here,
but I don't know why we do it?

To test:
1 - Apply the patch
2 - sudo koha-es-indexer --restart kohadev
3 - perl misc/maintenance/touch_all_biblios.pl
4 - Wait a bit
5 - Check the background jobs in the admin interface
6 - Confirm the jobs finish and records are searchable
7 - Test with and without rabbitmq enabled:
    . Stop rabbitmq service: sudo -s service rabbitmq-server stop
    . Repeat steps 2 to 5
8 - Sign off

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Aleisha Amohia <aleisha@catalyst.net.nz>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
2026-09-24 15:48:31 +00:00
..
background_jobs_worker.pl Bug 40820: Fix STOMP connection warnings when JobsNotificationMethod is 'polling' 2025-09-26 10:36:57 -06:00
es_indexer_daemon.pl Bug 36549: Use Parallel::ForkManager in es_indexer_daemon 2026-09-24 15:48:31 +00:00