Lines 39-44
while (1) {
Link Here
|
39 |
my $body = $frame->body; |
39 |
my $body = $frame->body; |
40 |
my $args = decode_json($body); |
40 |
my $args = decode_json($body); |
41 |
|
41 |
|
|
|
42 |
# FIXME This means we need to have create the DB entry before |
43 |
# It could work in a first step, but then we will want to handle job that will be created from the message received |
42 |
my $job = Koha::BackgroundJobs->find($args->{job_id}); |
44 |
my $job = Koha::BackgroundJobs->find($args->{job_id}); |
43 |
my $success = $job->process( $args ); |
45 |
my $success = $job->process( $args ); |
44 |
|
46 |
|
45 |
- |
|
|