Bugzilla – Attachment 117534 Details for
Bug 26742
Add configuration for message broker
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26742: Remove die from connect
Bug-26742-Remove-die-from-connect.patch (text/plain), 1.10 KB, created by
Martin Renvoize (ashimema)
on 2021-03-02 16:51:03 UTC
(
hide
)
Description:
Bug 26742: Remove die from connect
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-03-02 16:51:03 UTC
Size:
1.10 KB
patch
obsolete
>From 524050af37e1eb55a653b5707144ffd26f34add1 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 14 Dec 2020 10:05:02 +0100 >Subject: [PATCH] Bug 26742: Remove die from connect > >The change was not advertised and it needs to be done on a separate bug >report (+ test coverage) > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > Koha/BackgroundJob.pm | 8 +------- > 1 file changed, 1 insertion(+), 7 deletions(-) > >diff --git a/Koha/BackgroundJob.pm b/Koha/BackgroundJob.pm >index 1a25c32721..09139bdbdd 100644 >--- a/Koha/BackgroundJob.pm >+++ b/Koha/BackgroundJob.pm >@@ -77,13 +77,7 @@ sub connect { > $credentials->{host} = $config->{vhost} if $config->{vhost}; > } > my $stomp = Net::Stomp->new( { hostname => $hostname, port => $port } ); >- my $frame = $stomp->connect( $credentials ); >- unless ($frame && $frame->command eq 'CONNECTED'){ >- if ($frame){ >- warn $frame->as_string; >- } >- die "Cannot connect to message broker"; >- } >+ $stomp->connect( $credentials ); > return $stomp; > } > >-- >2.20.1
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 26742
:
112013
|
112015
|
113906
|
114288
|
114372
|
117533
| 117534