Bugzilla – Attachment 132028 Details for
Bug 28416
Email::Sender::Transport::SMTP is using 10Mo of RAM
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28416: Delay load of Email::Sender::Transport::SMTP
Bug-28416-Delay-load-of-EmailSenderTransportSMTP.patch (text/plain), 959 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2022-03-22 15:31:51 UTC
(
hide
)
Description:
Bug 28416: Delay load of Email::Sender::Transport::SMTP
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-03-22 15:31:51 UTC
Size:
959 bytes
patch
obsolete
>From 9e4326897230e1a98b88ec52f38f5ff474ee34b3 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 21 May 2021 14:10:56 +0200 >Subject: [PATCH] Bug 28416: Delay load of Email::Sender::Transport::SMTP > >As it's taking 10M of RAM > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > Koha/SMTP/Server.pm | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/Koha/SMTP/Server.pm b/Koha/SMTP/Server.pm >index 7a2a40cb18..1550d1ca4e 100644 >--- a/Koha/SMTP/Server.pm >+++ b/Koha/SMTP/Server.pm >@@ -21,8 +21,6 @@ use Koha::Database; > use Koha::Exceptions::Object; > use Koha::SMTP::Servers; > >-use Email::Sender::Transport::SMTP; >- > use base qw(Koha::Object); > > =head1 NAME >@@ -66,6 +64,7 @@ sub transport { > > $params->{debug} = $self->debug; > >+ require Email::Sender::Transport::SMTP; > my $transport = Email::Sender::Transport::SMTP->new( $params ); > > return $transport; >-- >2.32.0
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 28416
:
121275
|
132028
|
132219