Software /
code /
prosody
Diff
plugins/mod_cron.lua @ 13443:98a6ec4ce140
mod_cron: Fix log format to account for float that was integer before
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 24 Feb 2024 14:35:17 +0100 |
parent | 13421:92301fa7a673 |
child | 13588:899453f11f50 |
line wrap: on
line diff
--- a/plugins/mod_cron.lua Sat Feb 24 14:32:59 2024 +0100 +++ b/plugins/mod_cron.lua Sat Feb 24 14:35:17 2024 +0100 @@ -62,7 +62,7 @@ module:log("debug", "Running periodic tasks for host %s", host); for _, task in ipairs(module:context(host):get_host_items("task")) do task_runner:run(task); end end - module:log("debug", "Wait %ds", delay); + module:log("debug", "Wait %gs", delay); return delay end);