[Koha-bugs] [Bug 27783] Add handling for 'Queues' in the background job queue

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 1 04:46:11 CEST 2022


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

--- Comment #11 from David Cook <dcook at prosentient.com.au> ---
(In reply to Tomás Cohen Arazi from comment #10)
> The 'turtle' queue name was put to make it obvious what I meant.
> But it is cool too <.<

I laughed. I like it haha.

(In reply to Tomás Cohen Arazi from comment #9)
> I was reading the code and thinking how plugin-generated tasks could fit
> here. And with the current approach, I was leaning into adding
> 'plugin-real-time' and 'plugin-long-running' queues on top of this. But the
> need to have 4 running workers sounds like too much...

You wouldn't need to have 4 running workers though, since a worker can
subscribe to multiple queues. 

Regardless of the implementation, I am keen to get plugin-generated tasks into
Koha.

> What about having:
> 
> * 'real-time'
> * 'turtle'

Personally, I would prefer more granularity and configurability, but this does
sound like a pragmatic compromise. 

Another benefit of having "real-time" and "turtle" would be that adding more
background tasks should have a lower barrier to entry, since you'd just need to
provide a class for the worker to use and an interface for enqueuing tasks.
(I've been concerned that people haven't been taking advantage of the
background tasks because they weren't sure how to work with it.)

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


More information about the Koha-bugs mailing list