From a316f288dfd9c6163c5f67214fbb971e0bcaa74a Mon Sep 17 00:00:00 2001 From: phot0n Date: Fri, 21 Nov 2025 15:25:02 +0530 Subject: [PATCH] chore: add Email Queue Recipient as a dummy placeholder in default_log_clearing_doctypes --- frappe/hooks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/frappe/hooks.py b/frappe/hooks.py index b8c3932fdb..f21e25bbf3 100644 --- a/frappe/hooks.py +++ b/frappe/hooks.py @@ -567,6 +567,7 @@ default_log_clearing_doctypes = { "Route History": 90, "OAuth Bearer Token": 30, "API Request Log": 90, + "Email Queue Recipient": 30, # this is added as a dummy placeholder and clearing is handled by Email Queue itself } # These keys will not be erased when doing frappe.clear_cache()