# HG changeset patch # User Kim Alvefur # Date 1520431140 -3600 # Node ID 07ff7b8b702b89d719c77f29c5f362d2447ad573 # Parent 5040c8ce32dd540b41fa6483df8dc25d2e455403 mod_mam: Log a debug message if archive expiry has been disabled diff -r 5040c8ce32dd -r 07ff7b8b702b plugins/mod_mam/mod_mam.lua --- a/plugins/mod_mam/mod_mam.lua Wed Mar 07 14:46:55 2018 +0100 +++ b/plugins/mod_mam/mod_mam.lua Wed Mar 07 14:59:00 2018 +0100 @@ -381,6 +381,7 @@ return math.random(cleanup_interval, cleanup_interval * 2); end); else + module:log("debug", "Archive expiry disabled"); -- Don't ask the backend to count the potentially unbounded number of items, -- it'll get slow. use_total = false;