Diff

plugins/mod_mam/mod_mam.lua @ 8576:07ff7b8b702b

mod_mam: Log a debug message if archive expiry has been disabled
author Kim Alvefur <zash@zash.se>
date Wed, 07 Mar 2018 14:59:00 +0100
parent 8575:5040c8ce32dd
child 8577:75d5eee6fcdf
line wrap: on
line diff
--- 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;