[Koha-bugs] [Bug 29474] Automatic renewals cronjob is slow on systems with large numbers of reserves

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 15 11:36:34 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29474

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #127949|0                           |1
        is obsolete|                            |
 Attachment #127950|0                           |1
        is obsolete|                            |
 Attachment #127951|0                           |1
        is obsolete|                            |

--- Comment #48 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 128554
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=128554&action=edit
Bug 29474: Return too_soon before checking renewals

This patch allows us to avoid checking reserves when the issue is
too_soon and we are running the cron

Code is covered by existing tests

To test:
1 - prove -v t/db_dependent/Circulation.t

Signed-off-by: Joonas Kylmälä <joonas.kylmala at iki.fi>

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list