Skip to content

Commit

Permalink
Remove TODO for seconds cron syntax in asynq
Browse files Browse the repository at this point in the history
  • Loading branch information
acaloiaro committed Jan 28, 2024
1 parent 95ff915 commit 94d7d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/redis/redis_backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 94d7d68

Please sign in to comment.