[koha-commits] main Koha release repository branch master updated. v16.11.00-795-g17f4b05

Git repo owner gitmaster at git.koha-community.org
Thu Apr 13 14:32:25 CEST 2017


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  17f4b05d23cb19cebeedb361005bf411a5f25c60 (commit)
       via  6940aa91a53371ba49528022954a9a349044ab63 (commit)
      from  a6c26f009536e831461c1e91f8bafe07ca75d283 (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 17f4b05d23cb19cebeedb361005bf411a5f25c60
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Apr 11 10:31:49 2017 -0300

    Bug 14932: Do not call can_edit_subscription with an empty value
    
    ref($sub) eq 'ARRAY' should always be true, what we want is to call
    can_edit_subscription if there is at least 1 serial for this
    subscription.
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 6940aa91a53371ba49528022954a9a349044ab63
Author: Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi>
Date:   Thu Oct 1 15:23:23 2015 +0300

    Bug 14932 - serials/serials-collection.pl-page is very slow. GetFullSubscription* checks permission for each serial!
    
    Currently we have subscriptions with 300+ serials received.
    It takes a lot of time to show serials-collection.pl (~20s).
    This is especially troublesome when receiving serials, since after receival we get redirected to that page.
    
    We no longer can receive daily serials in the allotted timeframe.
    
    This quick and dirty fix prevents checking the subscription editing for each serial, but instead checks it for the first serial only.
    
    This reduced page load time by ~18s
    
    TEST PLAN:
    1. Receive ~300 serials (or just a bunch :)  )
    2. Observe the gradual slowing of the receival action.
    
    AFTER THIS PATCH:
    1. Receive ~300 serials more (or just a bunch)
    2. Observe a significant performance improvement.
    
    Signed-off-by: Paul POULAIN <paul.poulain at biblibre.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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

Summary of changes:
 C4/Serials.pm |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list