From 3717e47874874112c89e469e5d9ebd3653287b91 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 20 Feb 2020 17:22:54 +0100 Subject: [PATCH] Bug 22417: Add a note about the existence of the DB row Signed-off-by: Tomas Cohen Arazi Signed-off-by: David Cook --- misc/background_jobs_worker.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/misc/background_jobs_worker.pl b/misc/background_jobs_worker.pl index 9844c967a6..0127a2c2f1 100755 --- a/misc/background_jobs_worker.pl +++ b/misc/background_jobs_worker.pl @@ -39,6 +39,8 @@ while (1) { my $body = $frame->body; my $args = decode_json($body); + # FIXME This means we need to have create the DB entry before + # It could work in a first step, but then we will want to handle job that will be created from the message received my $job = Koha::BackgroundJobs->find($args->{job_id}); my $success = $job->process( $args ); -- 2.11.0