[Koha-bugs] [Bug 30410] Add a way for plugins to register background tasks

2023-01-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30410 --- Comment #18 from David Cook --- Do we have any examples of this one? -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list

[Koha-bugs] [Bug 32558] Allow background_jobs_worker.pl to process multiple jobs simultaneously up to a limit

2023-01-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32558 --- Comment #23 from David Cook --- (In reply to Kyle M Hall from comment #10) > Would that work with the database polling method? I think that would require > some re-engineering. Upon review, that won't work with having multiple

[Koha-bugs] [Bug 32558] Allow background_jobs_worker.pl to process multiple jobs simultaneously up to a limit

2023-01-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32558 --- Comment #22 from David Cook --- Was tempted to Fail QA this one, but I haven't actually tested if the current patch won't work in practice. But I think moving the forking up as I describe above would be a wise move. -- You

[Koha-bugs] [Bug 32481] Rabbit times out when too many jobs are queued and the response takes too long

2023-01-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32481 --- Comment #33 from David Cook --- That 3rd patch "Bug 32481: Use correct prefetch syntax for RabbitMQ" uses the correct syntax, so the worker only fetches 1 message at a time ( see https://www.rabbitmq.com/stomp.html#pear.p )

[Koha-bugs] [Bug 32481] Rabbit times out when too many jobs are queued and the response takes too long

2023-01-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32481 --- Comment #32 from David Cook --- (In reply to Jonathan Druart from comment #25) > I am giving up, need help. I am terribly sorry for wasting your time on this one, Jonathan. I solved this problem on a different project using

[Koha-bugs] [Bug 32481] Rabbit times out when too many jobs are queued and the response takes too long

2023-01-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32481 --- Comment #31 from David Cook --- Created attachment 145134 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=145134=edit Bug 32481: Use correct prefetch syntax for RabbitMQ According to

[Koha-bugs] [Bug 32481] Rabbit times out when too many jobs are queued and the response takes too long

2023-01-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32481 --- Comment #30 from David Cook --- I'm thinking that the prefetch config I provided isn't working with Net::Stomp... I enqueue 100 messages and then I look at the channel. root@kohadevbox:kohadevbox$ rabbitmqctl list_channels

[Koha-bugs] [Bug 32481] Rabbit times out when too many jobs are queued and the response takes too long

2023-01-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32481 --- Comment #29 from David Cook --- Ok I see the timeout happening 10 seconds after it probably got the first message on the connection/channel. Although according to the logs it processed 51 tasks. That seems odd... I'm going to

[Koha-bugs] [Bug 32481] Rabbit times out when too many jobs are queued and the response takes too long

2023-01-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32481 --- Comment #28 from David Cook --- Looks like the test plan is missing a step since without restarting the koha background job worker you'll just get the following: Exception 'Koha::Exception' thrown 'test is not a valid job_type'

[Koha-bugs] [Bug 32481] Rabbit times out when too many jobs are queued and the response takes too long

2023-01-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32481 --- Comment #27 from David Cook --- (In reply to Jonathan Druart from comment #25) > I am giving up, need help. > > I wrote this script to help adjusting the worker code and see how things > went. > > To test: > Edit

[Koha-bugs] [Bug 32481] Rabbit times out when too many jobs are queued and the response takes too long

2023-01-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32481 --- Comment #26 from David Cook --- (In reply to Jonathan Druart from comment #17) > And what about the 30 minutes timeout? That's always a danger. If 1 message takes 30+ minutes to process, then we'll have problems when using a

[Koha-bugs] [Bug 32558] Allow background_jobs_worker.pl to process multiple jobs simultaneously up to a limit

2023-01-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32558 --- Comment #21 from David Cook --- (In reply to Jonathan Druart from comment #14) > From > https://www.grzegorowski.com/rabbitmq-406-channel-closed-precondition-failed > > "You have to ACK messages in same order as they arrive to

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

2023-01-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32573 --- Comment #4 from David Cook --- If you were doing a big batch record modification and you suffered a power outage on the machine where the background job worker is running, then that task can't be re-started since the RabbitMQ

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

2023-01-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32573 David Cook changed: What|Removed |Added CC||dc...@prosentient.com.au ---

[Koha-bugs] [Bug 32393] background job worker explodes if JSON is incorrect

2023-01-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32393 --- Comment #15 from David Cook --- We need to keep the fork, and catching all exceptions makes sense to me. You could say that the background job worker is really a background job server and servers really shouldn't go down. They

[Koha-bugs] [Bug 4330] Copyright statements out of date

2023-01-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4330 --- Comment #50 from David Cook --- (In reply to Katrin Fischer from comment #49) > Is this still something we shoudl/could fix? I wonder this as well. I wonder if Catalyst's lawyers could advise on this one. Copyright statements in

[Koha-bugs] [Bug 24679] Allow to apply a MARC modification template in export tool

2023-01-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24679 David Cook changed: What|Removed |Added CC||dc...@prosentient.com.au ---

[Koha-bugs] [Bug 19532] Recalls for Koha

2023-01-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19532 --- Comment #929 from Aleisha Amohia --- (In reply to Jonathan Druart from comment #928) > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-course-details.tt > > -[% INCLUDE 'item-status.inc' >

[Koha-bugs] [Bug 10567] Ability to add a hidden/suppressed library branch

2023-01-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10567 Katrin Fischer changed: What|Removed |Added Status|NEW |RESOLVED