]> git.koha-community.org Git - koha.git/commit
Bug 30889: (follow-up) Record and use context in background_jobs
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 10 Jun 2022 13:09:21 +0000 (14:09 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 29 Jul 2022 17:05:26 +0000 (17:05 +0000)
commit671fbd4c15b1ab93361e8bb3b198bcd66da06d5f
tree559f8cef05589d52adc766ca3d07e0eac5052afc
parent7d7f39b7d555f24fff07e0d4ce6ecb0937bdfa57
Bug 30889: (follow-up) Record and use context in background_jobs

This patch records the current context to the background_jobs table at
enqueue time and then uses that record to set the context at process
time.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit bde3a32277efdfe8bcf47ffe444b1a9780125940)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Koha/BackgroundJob.pm
misc/background_jobs_worker.pl