[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
Fri May 27 13:59:11 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30654

Andrew Nugged <nugged at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nugged at gmail.com

--- Comment #7 from Andrew Nugged <nugged at gmail.com> ---
> However, if rabbitMQ wasn't running when the tasks were enqueue, then the worker will never know about them.

Martin, you just picked up what I had - I had lost jobs that never processed
because of (another issue: race conditions) and they left in DB as "New", so I
made some hotfix to run worker in "non-daemon mode":
https://github.com/NatLibFi/Koha/commit/b87313773e4aefa4b89e4b223f1e2132fd196183
which also can be put to cron for example, 
(but it's better of course to get rid of race condition issues at all :), yet
this not related to this ticket I think)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list