Bug 35661

Summary: process_message_queue should skip sending due/predue/overdue notices if they're old as content is no longer relevant
Product: Koha Reporter: Lisette Scheer <lisette>
Component: NoticesAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: andrew, lucas
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Lisette Scheer 2023-12-28 18:46:02 UTC
Currently if there's a problem that causes a backlog in the message queue, predue/due/overdue notices may not go out in a timely manner. 

With bug 31453 the ability to limit in the cli was added, but it seems like the default should be not to send these after a certain amount of time, unless forced. 

This keeps patrons from getting multiple emails at the same time if a backlog occurs and say the predue and due notices both get sent for an item on the same day. 

I think ideally there would be a syspref so staff could change it if they wanted to as well as a report for anything that would have otherwise sent so staff are aware.
Comment 1 Lucas Gass (lukeg) 2023-12-29 14:45:23 UTC
+1 for more checks on what gets sent out via process_message_queue. Untimely messages is a thing that can make patron and librarians pretty upset.