Bugzilla – Attachment 76480 Details for
Bug 17240
Allow processes that rely on background jobs run in Plack mode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17240: (followup 2) Allow processes that rely on background jobs run in Plack mode
Bug-17240-followup-2-Allow-processes-that-rely-on-.patch (text/plain), 1.22 KB, created by
Fridolin Somers
on 2018-06-27 10:08:04 UTC
(
hide
)
Description:
Bug 17240: (followup 2) Allow processes that rely on background jobs run in Plack mode
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2018-06-27 10:08:04 UTC
Size:
1.22 KB
patch
obsolete
>From c47410dee2d6066e28132db4dd780e10f13e7124 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Wed, 28 Dec 2016 09:38:09 +0100 >Subject: [PATCH] Bug 17240: (followup 2) Allow processes that rely on > background jobs run in Plack mode > >Followup 2 >If not running in background mode, some calls are made on $job var in tools/batch_record_modification.pl. >--- > tools/batch_record_modification.pl | 14 ++++++++------ > 1 file changed, 8 insertions(+), 6 deletions(-) > >diff --git a/tools/batch_record_modification.pl b/tools/batch_record_modification.pl >index bfdb758..52915e2 100755 >--- a/tools/batch_record_modification.pl >+++ b/tools/batch_record_modification.pl >@@ -237,12 +237,14 @@ if ( $op eq 'form' ) { > } > } > >- $job->set({ >- view => 'report', >- report => $report, >- messages => \@messages, >- }); >- $job->progress( ++$progress ) if $runinbackground; >+ if ($runinbackground) { >+ $job->set({ >+ view => 'report', >+ report => $report, >+ messages => \@messages, >+ }); >+ $job->progress( ++$progress ); >+ } > } > > if ($runinbackground) { >-- >2.7.4
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 17240
:
55110
|
55111
|
55129
|
55130
|
55137
|
55138
|
55257
|
58461
|
63291
|
63459
|
63862
|
76477
|
76478
|
76479
| 76480 |
76481
|
76482