https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30172
--- Comment #7 from Nick Clemens <[email protected]> --- There is another approach we could try. In misc/background_jobs_worker.pl we have: 61 my $job = Koha::BackgroundJobs->find($args->{job_id}); 62 63 process_job( $job, $args ); 64 $conn->ack( { frame => $frame } ); # FIXME depending on success? Perhaps: 61 my $job = Koha::BackgroundJobs->find($args->{job_id}); 62 $conn->nack({frame=>$frame}) unless $job; 63 process_job( $job, $args ); 64 $conn->ack( { frame => $frame } ); # FIXME depending on success? Though could we end up in a loop? The queue should expire eventually - and we could store soemthing in the job about retries when we send nack? -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
