https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43340 --- Comment #28 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 210746 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=210746&action=edit Bug 43340: (QA follow-up) Use Koha::Notice::Message for the retry bookkeeping Record attempts and retry_after through Koha::Notice::Message instead of hand-written UPDATE statements, and compare retry_after against a datetime formatted by Koha rather than the database's NOW(), so both sides of the comparison use the same clock. ResendMessage no longer needs a second UPDATE to start the schedule over: _set_message_status takes a reset_retries flag so it happens in the same statement that sets the message back to pending. Test plan: 1. prove t/db_dependent/Letters.t Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.