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