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 | 0ca1504e33680e206fcb0940e4340ecea0d8a426 (patch) | |
tree | 8c3cbc947dcd084d519e87b4f59222872a2a721e /plugins/mod_mam | |
parent | ecd9604332f88dd442d78f49447c9e8764efd8a8 (diff) | |
download | prosody-0ca1504e33680e206fcb0940e4340ecea0d8a426.tar.gz prosody-0ca1504e33680e206fcb0940e4340ecea0d8a426.zip |
mod_mam: Log a debug message if archive expiry has been disabled
Diffstat (limited to 'plugins/mod_mam')
-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; |