Bugzilla – Attachment 145062 Details for
Bug 32558
Allow background_jobs_worker.pl to process multiple jobs simultaneously up to a limit
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32558: (follow-up) Ack the stomp message before forking
Bug-32558-follow-up-Ack-the-stomp-message-before-f.patch (text/plain), 1.00 KB, created by
Kyle M Hall
on 2023-01-05 14:22:41 UTC
(
hide
)
Description:
Bug 32558: (follow-up) Ack the stomp message before forking
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2023-01-05 14:22:41 UTC
Size:
1.00 KB
patch
obsolete
>From ed14d89f79407d62a53486a4d0b22d14eb8c4b94 Mon Sep 17 00:00:00 2001 >From: Kyle Hall <kyle@bywatersolutions.com> >Date: Thu, 5 Jan 2023 09:22:25 -0500 >Subject: [PATCH] Bug 32558: (follow-up) Ack the stomp message before forking > >--- > misc/background_jobs_worker.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/misc/background_jobs_worker.pl b/misc/background_jobs_worker.pl >index a9e14fc94c..0120146a71 100755 >--- a/misc/background_jobs_worker.pl >+++ b/misc/background_jobs_worker.pl >@@ -107,9 +107,9 @@ while (1) { > # It could work in a first step, but then we will want to handle job that will be created from the message received > my $job = Koha::BackgroundJobs->find($args->{job_id}); > >+ $conn->ack( { frame => $frame } ); # Acknowledge the message was recieved > $pm->start and next; > $job->process( { job_id => $job->id, %$args } ); >- $conn->ack( { frame => $frame } ); # FIXME depending on success? > $pm->finish; > > } else { >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32558
:
144946
|
144947
|
144960
|
144961
|
145043
|
145062
|
145067
|
145900
|
145901
|
145950
|
146020
|
146753
|
146754
|
147784
|
147828