From 01a44e88db7061b2e908d5d77cb689009beb549c Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 24 Feb 2024 14:35:17 +0100 Subject: mod_cron: Fix log format to account for float that was integer before --- teal-src/prosody/plugins/mod_cron.tl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'teal-src') diff --git a/teal-src/prosody/plugins/mod_cron.tl b/teal-src/prosody/plugins/mod_cron.tl index 13f4a588..4defc808 100644 --- a/teal-src/prosody/plugins/mod_cron.tl +++ b/teal-src/prosody/plugins/mod_cron.tl @@ -108,7 +108,7 @@ scheduled = module:add_timer(cron_initial_delay, function() : number task_runner:run(task); end end - module:log("debug", "Wait %ds", delay); + module:log("debug", "Wait %gs", delay); return delay; end); -- cgit v1.2.3