diff options
author | Kim Alvefur <zash@zash.se> | 2018-03-07 14:59:00 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-03-07 14:59:00 +0100 |
commit | 07c0bc5d5413f254fce624bba798a5e36b434670 (patch) | |
tree | 8c3cbc947dcd084d519e87b4f59222872a2a721e | |
parent | db93331e685a8cdf6b9a2512a9f0ab8940fe2fd8 (diff) | |
download | prosody-07c0bc5d5413f254fce624bba798a5e36b434670.tar.gz prosody-07c0bc5d5413f254fce624bba798a5e36b434670.zip |
mod_mam: Log a debug message if archive expiry has been disabled
-rw-r--r-- | plugins/mod_mam/mod_mam.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_mam/mod_mam.lua b/plugins/mod_mam/mod_mam.lua index a0e317eb..a8b3aad2 100644 --- a/plugins/mod_mam/mod_mam.lua +++ b/plugins/mod_mam/mod_mam.lua @@ -381,6 +381,7 @@ if cleanup_after ~= "never" then 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; |