Bugzilla – Attachment 63248 Details for
Bug 16758
Caching issues in scripts running in daemon mode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16758: Use the default cache instance
Bug-16758-Use-the-default-cache-instance.patch (text/plain), 1.02 KB, created by
Jonathan Druart
on 2017-05-08 15:46:07 UTC
(
hide
)
Description:
Bug 16758: Use the default cache instance
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-05-08 15:46:07 UTC
Size:
1.02 KB
patch
obsolete
>From 0b790c45413659fd01c6e23184794b16faf1459a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 8 May 2017 12:43:43 -0300 >Subject: [PATCH] Bug 16758: Use the default cache instance > >I do not see a valid reason not to use the default one instead of the >syspref one. > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > misc/migration_tools/rebuild_zebra.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/misc/migration_tools/rebuild_zebra.pl b/misc/migration_tools/rebuild_zebra.pl >index db04b11a29..28ce27ccdf 100755 >--- a/misc/migration_tools/rebuild_zebra.pl >+++ b/misc/migration_tools/rebuild_zebra.pl >@@ -63,7 +63,7 @@ my $run_user = (getpwuid($<))[0]; > my $wait_for_lock = 0; > my $use_flock; > my $table = 'biblioitems'; >-my $is_memcached = Koha::Caches->get_instance('syspref')->memcached_cache; >+my $is_memcached = Koha::Caches->get_instance->memcached_cache; > > my $verbose_logging = 0; > my $zebraidx_log_opt = " -v none,fatal,warn "; >-- >2.11.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 16758
:
55564
|
60858
|
61820
|
63247
| 63248