Changeset

12490:1c5cb4c49c50

Merge 0.12->trunk
author Kim Alvefur <zash@zash.se>
date Thu, 05 May 2022 14:15:15 +0200
parents 12487:db634db8e069 (current diff) 12489:8b42575738f0 (diff)
children 12492:a44c328028ad
files
diffstat 3 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_cron.lua	Wed Apr 27 21:45:36 2022 +0200
+++ b/plugins/mod_cron.lua	Thu May 05 14:15:15 2022 +0200
@@ -45,6 +45,7 @@
 local function run_task(task)
 	local started_at = os.time();
 	task:run(started_at);
+	task.last = started_at;
 	task:save(started_at);
 end
 
--- a/teal-src/plugins/mod_cron.tl	Wed Apr 27 21:45:36 2022 +0200
+++ b/teal-src/plugins/mod_cron.tl	Thu May 05 14:15:15 2022 +0200
@@ -84,6 +84,7 @@
 local function run_task(task : task_spec)
 	local started_at = os.time();
 	task:run(started_at);
+	task.last = started_at;
 	task:save(started_at);
 end
 
--- a/util/prosodyctl/check.lua	Wed Apr 27 21:45:36 2022 +0200
+++ b/util/prosodyctl/check.lua	Thu May 05 14:15:15 2022 +0200
@@ -1277,6 +1277,7 @@
 			local count = it.count(pairs(turn_services));
 			if count == 0 then
 				print("Error: Unable to find any TURN services configured. Enable mod_turn_external!");
+				ok = false;
 			else
 				print("Identified "..tostring(count).." TURN services.");
 				print("");