From 885c99ea66cb099590d300f9597ed030c23f74e9 Mon Sep 17 00:00:00 2001 From: rogeecn Date: Mon, 17 Mar 2025 11:42:13 +0800 Subject: [PATCH] feat: job cancel --- contracts/cron_job.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/cron_job.go b/contracts/cron_job.go index 605dfe7..bc62cb5 100644 --- a/contracts/cron_job.go +++ b/contracts/cron_job.go @@ -8,7 +8,7 @@ type CronJob interface { Args() []CronJobArg } -type CronJobArgInterface interface { +type JobArgs interface { river.JobArgs river.JobArgsWithInsertOpts } @@ -17,5 +17,5 @@ type CronJobArg struct { RunOnStart bool PeriodicInterval river.PeriodicSchedule - Arg CronJobArgInterface + Arg JobArgs }