[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
Tue Jun 28 03:38:45 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654
--- Comment #10 from David Cook <dcook at prosentient.com.au> ---
(In reply to David Cook from comment #8)
> It seems to me that the order of operations should be the following:
>
> 1. Connect to RabbitMQ
> 2. Insert job in DB
> 3. Commit job in DB
> 4. Send message to a durable RabbitMQ queue
> 5. Output result of send message to user
> 5a. If successful, say job has been created
> 5b. If unsuccessful, say there was a problem creating job and to contact an
> administrator
Actually that should be:
1. Connect to RabbitMQ
2. Insert job in DB
3. Commit job in DB
4. Send message to a durable RabbitMQ queue
5. Output result of send message to user
5a. If successful, say job has been created.
5b. If unsuccessful, say there was a problem creating job and to contact an
administrator, and update/commit job in DB as failed.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list