From 94d7d68539b6980cece521b428733f6c344bc268 Mon Sep 17 00:00:00 2001 From: Adriano Caloiaro Date: Sun, 28 Jan 2024 07:26:50 -0700 Subject: [PATCH] Remove TODO for seconds cron syntax in asynq --- backends/redis/redis_backend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/redis/redis_backend.go b/backends/redis/redis_backend.go index 5810b4a..2a45c56 100644 --- a/backends/redis/redis_backend.go +++ b/backends/redis/redis_backend.go @@ -311,7 +311,7 @@ func jobToTaskOptions(job *jobs.Job) (opts []asynq.Option) { // // # This implementation is very crude, and unlikely covers the full breadth of the cron spec, panic()ing when necessary // -// TODO: Refactor if asynq merges https://github.com/hibiken/asynq/pull/644 +// Note: Refactor if asynq merges https://github.com/hibiken/asynq/pull/644 func toAsynqCronspec(cronSpec string) string { // nolint: nestif, gomnd if strings.Count(cronSpec, "*") == 6 {