Bugzilla – Attachment 48636 Details for
Bug 15973
Do not disable syspref cache for Plack
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15973: Revert "Bug 13805: (Plack) Disable syspref cache"
Bug-15973-Revert-Bug-13805-Plack-Disable-syspref-c.patch (text/plain), 1.17 KB, created by
Jonathan Druart
on 2016-03-03 16:46:41 UTC
(
hide
)
Description:
Bug 15973: Revert "Bug 13805: (Plack) Disable syspref cache"
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-03-03 16:46:41 UTC
Size:
1.17 KB
patch
obsolete
>From 77afe6ff356abca1ed5df507b6b8512a7bc8ce5f Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 3 Mar 2016 16:45:07 +0000 >Subject: [PATCH] Bug 15973: Revert "Bug 13805: (Plack) Disable syspref cache" > >This reverts commit ca00f0ddaeb76106b4aa274fd1848844ae042f58. > >Bug 13805 fixes an installer bug by disabling the syspref cache. >It was not a good idea, it introduced performance issues (see bug 13805 >comment 14). > >Test plan: >Test plan: >0/ Create a new database and fill the database entry in the koha conf >with its name >1/ Go on the mainpage, you should be redirected to the installer >2/ Try to log in >You should not get the login form again. >--- > misc/plack/koha.psgi | 2 -- > 1 file changed, 2 deletions(-) > >diff --git a/misc/plack/koha.psgi b/misc/plack/koha.psgi >index 2415640..2548444 100644 >--- a/misc/plack/koha.psgi >+++ b/misc/plack/koha.psgi >@@ -52,8 +52,6 @@ use C4::Tags; # FIXME > use Devel::Size 0.77; # 0.71 doesn't work for Koha > my $watch_capture_regex = '(C4|Koha)'; > >-C4::Context->disable_syspref_cache; >- > sub watch_for_size { > my @watch = > map { s/^.*$watch_capture_regex/$1/; s/\//::/g; s/\.pm$//; $_ } # fix paths >-- >2.7.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 15973
: 48636 |
48638