mod_mam: Log a debug message if archive expiry has been disabled
authorKim Alvefur <zash@zash.se>
Wed, 07 Mar 2018 14:59:00 +0100
changeset 8579 07ff7b8b702b
parent 8578 5040c8ce32dd
child 8580 75d5eee6fcdf
mod_mam: Log a debug message if archive expiry has been disabled
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;