http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11244 --- Comment #21 from Jonathan Druart <jonathan.druart@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@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@koha-qa:~/src (BZ11244↑⚡)% git checkout master Switched to branch 'master' koha@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.