[Koha-bugs] [Bug 32573] background_jobs_worker.pl should ACK a message before it forks and runs the job

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 11 19:38:25 CET 2023


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

--- Comment #21 from Kyle M Hall <kyle at bywatersolutions.com> ---
(In reply to David Cook from comment #19)
> (In reply to David Cook from comment #18)
> > > I've been pondering having separate workers for polling and rabbit
> > > respectively. It would simplify things a lot.
> > 
> > That does sound interesting. Could you explain that one more?
> 
> Actually, I think that I might know what you mean. If we had separate
> processes for polling and rabbit, people who prefer polling could use
> polling, and people who prefer rabbit could use rabbit. 
> 
> That could make things easier, as concurrent processing for polling and
> rabbit needs to be handled differently. And acknowledgements may or may not
> be used with polling...

I get where you are coming from, but the failover to polling has definitely
provided valuable. If we ACK first, it's not too difficult to handle both in
one script. If we continue to ACK last, it's more complicated but still
possible. I'd say we need to make the decision on where to ACK and the rest of
the plan will follow from that.

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


More information about the Koha-bugs mailing list