[Koha-bugs] [Bug 11244] notices ignoring the dateformat preference
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jun 9 16:32:49 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244
--- Comment #21 from Jonathan Druart <jonathan.druart at biblibre.com> ---
(In reply to Olli-Antti Kivilahti from comment #16)
> Hi there!
>
> Applied the bug.
> I am noticing a huge performance drop with cronjobs/overdue_notices.pl
>
> getting 12 items to the message_queue takes 31s with this feature applied.
> getting 12 items to the message_queue takes 1s without this feature applied.
>
> oops...
I don't reproduce. I generated 10 overdues, and I got:
koha at koha-qa:~/src (BZ11244↑⚡)% time perl misc/cronjobs/overdue_notices.pl
perl misc/cronjobs/overdue_notices.pl 1.46s user 0.05s system 76% cpu 1.976
total
koha at koha-qa:~/src (BZ11244↑⚡)% git checkout master
Switched to branch 'master'
koha at koha-qa:~/src (master⚡)% time perl misc/cronjobs/overdue_notices.pl
perl misc/cronjobs/overdue_notices.pl 1.32s user 0.05s system 73% cpu 1.853
total
I have 5 dates in the template:
[skip]
<<items.datelastborrowed>><<items.datelastseen>><<items.timestamp>>
[skip]
<<borrowers.dateofbirth>><<borrowers.dateexpiry>>
[skip]
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list