aboutsummaryrefslogtreecommitdiffstats
path: root/teal-src/plugins/mod_cron.tl
diff options
context:
space:
mode:
Diffstat (limited to 'teal-src/plugins/mod_cron.tl')
-rw-r--r--teal-src/plugins/mod_cron.tl2
1 files changed, 1 insertions, 1 deletions
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<task_spec> = async.runner(run_task);
module:add_timer(1, function() : integer
module:log("info", "Running periodic tasks");
local delay = 3600;