From 117c340edbb7512b911038e40201e64135b966f8 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 8 May 2022 15:21:35 +0200 Subject: util.async: Add Teal description file --- teal-src/plugins/mod_cron.tl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'teal-src/plugins') diff --git a/teal-src/plugins/mod_cron.tl b/teal-src/plugins/mod_cron.tl index f3b8f62f..303ecbf0 100644 --- a/teal-src/plugins/mod_cron.tl +++ b/teal-src/plugins/mod_cron.tl @@ -88,7 +88,7 @@ local function run_task(task : task_spec) task:save(started_at); end -local task_runner = async.runner(run_task); +local task_runner : async.runner_t = async.runner(run_task); module:add_timer(1, function() : integer module:log("info", "Running periodic tasks"); local delay = 3600; -- cgit v1.2.3