[koha-commits] main Koha release repository branch new/bug_8089 created. v3.08.00-703-geefeef0

Git repo owner gitmaster at git.koha-community.org
Fri Sep 7 18:22:14 CEST 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, new/bug_8089 has been created
        at  eefeef0c1ff606dc15ad6105537c5e6fb8f7393d (commit)

- Log -----------------------------------------------------------------
commit eefeef0c1ff606dc15ad6105537c5e6fb8f7393d
Author: Jared Camins-Esakov <jcamins at cpbibliography.com>
Date:   Sun May 20 08:18:52 2012 -0400

    Bug 8089: Correct cache timeout to 1000
    
    There was a typo in the original patch for bug 8089 which set the cache
    timeout on getAllLanguages to 10000. Correct it to 1000.
    
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
    Signed-off-by: Paul Poulain <paul.poulain at biblibre.com>

commit 499f44fa1d0086d4430215648679fd368017df6c
Author: Jared Camins-Esakov <jcamins at cpbibliography.com>
Date:   Tue May 15 07:14:01 2012 -0400

    Bug 8089: Cache sysprefs using Koha::Cache
    
    Cache sysprefs using Koha::Cache in a way that is safe even for
    caching-related sysprefs. This lays the groundwork for removing
    caching configuration from the httpd.conf and configuring it
    using sysprefs.
    
    Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>

commit 215abc8024d93f1b6a10f26427a65bd64d106e52
Author: Jared Camins-Esakov <jcamins at cpbibliography.com>
Date:   Mon May 14 13:27:29 2012 +0200

    Bug 8089: Use Koha::Cache for all caching
    
    1. Replace all instances of memoize_memcached with appropriate calls
    into Koha::Cache:
    * reports/guided_reports.pl
    * C4::Biblio::GetMarcStructure
    * C4::Languages::getFrameworkLanguages
    * C4::Languages::getAllLanguages
    * C4::SQLHelper::GetPrimaryKeys
    * C4::SQLHelper::_get_columns
    
    2. Replace all references to memcached with the appropriate calls into
    Koha::Cache in C4::Context.
    
    Test plan :
    * have DEBUG env set to 1
    * reach addbiblio page to test the patch in Biblio.pm, or setup more than 1
      language
    * you should see in the logs that you're reading and writing from cache
    * run the test suite twice both with and without the following environment
      variables set:
    export MEMCACHED_SERVERS=127.0.0.1:11211
    export MEMCACHED_NAMESPACE=KOHA
    export CACHING_SYSTEM=memcached
    
    Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
    
    I'm unsure about some of the caching times 10000 is a long long time,
    but other than that, works fine.

-----------------------------------------------------------------------


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list