[koha-commits] main Koha release repository branch master updated. v3.22.00-1008-gb0bbace

Git repo owner gitmaster at git.koha-community.org
Thu Mar 24 20:37:38 CET 2016


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, master has been updated
       via  b0bbace4dd8c19488110bf5c06817077abaa3f1c (commit)
       via  2e0af6e6df279aa08603e9696d35fc7def7bd7d3 (commit)
       via  3bfe541d0d97cdad08f9be2cff20c04a03424a25 (commit)
       via  bbfe394bb6e1ac8851b3c73826ea6fa5e7a0c94c (commit)
       via  dda7a0a25ff480abda219084686e8138341fbba3 (commit)
      from  ffb17a2914c43e536155856a86fed374b7f26e9c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b0bbace4dd8c19488110bf5c06817077abaa3f1c
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Mar 15 16:40:14 2016 +0000

     Bug 16044: Add an unsafe flag to Koha::Cache->get_from_cache
    
    If the caller/developer knows what he is doing, he can decide not to
    deep copy the structure. It will be faster but unsafe!
    If the structure is modified, the cache will also be updated.
    This option must be used with care and is not the default behavior.
    
    Signed-off-by: Jesse Weaver <jweaver at bywatersolutions.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    
    Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>

commit 2e0af6e6df279aa08603e9696d35fc7def7bd7d3
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Mar 15 16:17:32 2016 +0000

     Bug 16044: Add deep cloning
    
    To avoid the cache to be modified unfortunately, the default behavior of
    get_from_cache will be to deep copy if we are getting a structure.
    If the item is a scalar, it's simply returned.
    
    Signed-off-by: Jesse Weaver <jweaver at bywatersolutions.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    
    Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>

commit 3bfe541d0d97cdad08f9be2cff20c04a03424a25
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Mar 15 15:50:15 2016 +0000

     Bug 16044: Add tests to make sure structures will be copied
    
    Signed-off-by: Jesse Weaver <jweaver at bywatersolutions.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    
    Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>

commit bbfe394bb6e1ac8851b3c73826ea6fa5e7a0c94c
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Mar 15 15:45:20 2016 +0000

     Bug 16044: Make tests from t/Cache.t pass
    
    The timeout does not impact the L1 cache (it would be to time consuming
    and not really useful to do that for this cache).
    To simulate the real timeout, we need to flush this L1 cache when
    needed.
    It would be also done adding a disable_L1_cache method.
    
    Signed-off-by: Jesse Weaver <jweaver at bywatersolutions.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    
    Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>

commit dda7a0a25ff480abda219084686e8138341fbba3
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Thu Mar 10 15:54:28 2016 +0000

     Bug 16044: Use the L1 cache for any objects set in cache
    
    Signed-off-by: Jesse Weaver <jweaver at bywatersolutions.com>
    Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
    
    Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>

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

Summary of changes:
 C4/Context.pm               |   14 --------------
 Koha/Cache.pm               |   41 ++++++++++++++++++++++++++++++++++++++---
 debian/templates/plack.psgi |    2 +-
 misc/plack/koha.psgi        |    3 ++-
 t/Cache.t                   |   35 +++++++++++++++++++++++++++++++++--
 5 files changed, 74 insertions(+), 21 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list