From ca37a2fc057ff5a9cc710f50ed88d03b95e88049 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 --- 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.20.1