Bugzilla – Attachment 49027 Details for
Bug 11998
Syspref caching issues
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11998: Revert "Bug 13805: (Plack) Disable syspref cache"
Bug-11998-Revert-Bug-13805-Plack-Disable-syspref-c.patch (text/plain), 1.23 KB, created by
Tomás Cohen Arazi (tcohen)
on 2016-03-11 14:00:53 UTC
(
hide
)
Description:
Bug 11998: Revert "Bug 13805: (Plack) Disable syspref cache"
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2016-03-11 14:00:53 UTC
Size:
1.23 KB
patch
obsolete
>From 0af24eec016168b5503715c9e6b468380b2ecb16 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 11998: 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. > >Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar> >--- > misc/plack/koha.psgi | 2 -- > 1 file changed, 2 deletions(-) > >diff --git a/misc/plack/koha.psgi b/misc/plack/koha.psgi >index 1953b5c..89dbb65 100644 >--- a/misc/plack/koha.psgi >+++ b/misc/plack/koha.psgi >@@ -51,8 +51,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 11998
:
26575
|
26621
|
26714
|
26716
|
26717
|
27382
|
31801
|
31802
|
32870
|
32871
|
32872
|
32873
|
32874
|
33183
|
33447
|
33670
|
33671
|
33685
|
33724
|
33725
|
33746
|
33829
|
33940
|
36523
|
36524
|
36525
|
36526
|
36527
|
36528
|
36529
|
36530
|
36531
|
36532
|
36533
|
36534
|
36571
|
36583
|
36584
|
36585
|
36586
|
36587
|
36588
|
36589
|
36590
|
36591
|
36592
|
36593
|
36594
|
36595
|
48640
|
48652
|
48655
|
48687
|
48688
|
48727
|
48758
|
48928
|
48929
|
48930
|
48931
|
48932
|
48933
|
48934
|
48935
|
48936
|
48961
|
49022
|
49023
|
49024
|
49025
|
49026
|
49027
|
49028
|
49029
|
49030
|
49100
|
49101
|
49102
|
49103
|
49104
|
49105
|
49106
|
49107
|
49108