[Koha-bugs] [Bug 18519] New: Add ability to skip irrelevant dates in Koha::Calendar
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon May 1 18:56:08 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18519
Bug ID: 18519
Summary: Add ability to skip irrelevant dates in Koha::Calendar
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: gmcharlt at gmail.com
Reporter: barton at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
We've seen occurrences of fines.pl and overdue_notices.pl slowing down when
there are a large number of (usually old) entries in special_holidays table.
Apparently, we're checking each candidate day against the whole fines calendar
-- this is unnecessary, as both fines and overdue notices are are bounded; we
only need to check the calendar enteries between the current day and the
relevant letter delay (for overdue notices) or between the day the item went
overdue and the current day (for fines). If we could pass in a start and end
date, we could eliminate this overhead.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list