Changeset

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
parents 8575:5040c8ce32dd
children 8577:75d5eee6fcdf
files plugins/mod_mam/mod_mam.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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;