# HG changeset patch # User Kim Alvefur # Date 1651752915 -7200 # Node ID 1c5cb4c49c50d5df68ebdfacf9e6f6f0edb85256 # Parent db634db8e069403a27469b9abbc1fe113b5a2ad9# Parent 8b42575738f0963de8fd2f486efcebf8411f3599 Merge 0.12->trunk diff -r db634db8e069 -r 1c5cb4c49c50 plugins/mod_cron.lua --- 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 diff -r db634db8e069 -r 1c5cb4c49c50 teal-src/plugins/mod_cron.tl --- 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 diff -r db634db8e069 -r 1c5cb4c49c50 util/prosodyctl/check.lua --- 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("");