[Koha-bugs] [Bug 30654] Even with RabbitMQ enabled, we should poll the database for jobs at worker startup
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon May 9 03:10:06 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654
--- Comment #4 from David Cook <dcook at prosentient.com.au> ---
Regardless, this code introduces a race condition. If background_jobs_worker.pl
tries to run process_outstanding at startup after Koha::BackgroundJob runs
$self->set(<things>)->store; but before $conn->send_with_receipt, then the same
job would be run (at least) 2 times.
It'd be an unlikely scenario, but technically it could happen.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list