Bug 27783: Add --job-type to background_jobs_worker.pl
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 1 Apr 2022 10:10:05 +0000 (12:10 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 13 Apr 2022 13:55:40 +0000 (15:55 +0200)
commita42717ad15bbbb772b7477ab374c75d1039350f9
tree277147a6db63ab5d05ec7a6fcb8b98c9eba3d148
parent1269a074fc3948c1e61a27d8b00a18dc78acbf52
Bug 27783: Add --job-type to background_jobs_worker.pl

This will let sysop adjust the number of workers and how they want to
manage them.
For instance one could want to have one worker for ES indexation and
another worker for other jobs, to prevent ES index to be stuck behind
bigger batch process.

Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
misc/background_jobs_worker.pl