Bugzilla – Attachment 9673 Details for
Bug 8089
Use Koha::Cache everywhere
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8089: Correct cache timeout to 1000
Bug-8089-Correct-cache-timeout-to-1000.patch (text/plain), 912 bytes, created by
Jared Camins-Esakov
on 2012-05-20 12:21:15 UTC
(
hide
)
Description:
Bug 8089: Correct cache timeout to 1000
Filename:
MIME Type:
Creator:
Jared Camins-Esakov
Created:
2012-05-20 12:21:15 UTC
Size:
912 bytes
patch
obsolete
>From 9ff49e5d15208ce7a1852e35f33a70b900629e65 Mon Sep 17 00:00:00 2001 >From: Jared Camins-Esakov <jcamins@cpbibliography.com> >Date: Sun, 20 May 2012 08:18:52 -0400 >Subject: [PATCH] Bug 8089: Correct cache timeout to 1000 >Content-Type: text/plain; charset="UTF-8" > >There was a typo in the original patch for bug 8089 which set the cache >timeout on getAllLanguages to 10000. Correct it to 1000. >--- > C4/Languages.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/Languages.pm b/C4/Languages.pm >index a746182..9593946 100644 >--- a/C4/Languages.pm >+++ b/C4/Languages.pm >@@ -99,7 +99,7 @@ sub getFrameworkLanguages { > } > } > if (Koha::Cache->is_cache_active() && defined $cache) { >- $cache->set_in_cache("getFrameworkLanguages",\@languages,10000) >+ $cache->set_in_cache("getFrameworkLanguages",\@languages,1000) > } > return \@languages; > } >-- >1.7.2.5
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 8089
:
9577
|
9580
|
9581
|
9665
|
9666
|
9673
|
10166
|
10167
|
10168
|
11400
|
11401
|
11402
|
12077
|
12078
|
14765
|
14891
|
14893
|
16551