aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_mam
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-03-07 14:59:00 +0100
committerKim Alvefur <zash@zash.se>2018-03-07 14:59:00 +0100
commit07c0bc5d5413f254fce624bba798a5e36b434670 (patch)
tree8c3cbc947dcd084d519e87b4f59222872a2a721e /plugins/mod_mam
parentdb93331e685a8cdf6b9a2512a9f0ab8940fe2fd8 (diff)
downloadprosody-07c0bc5d5413f254fce624bba798a5e36b434670.tar.gz
prosody-07c0bc5d5413f254fce624bba798a5e36b434670.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.lua1
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;