Remove TODO for seconds cron syntax in asynq

This commit is contained in:
Adriano Caloiaro 2024-01-28 07:26:50 -07:00
parent 95ff9152a4
commit 94d7d68539
No known key found for this signature in database
GPG key ID: C2BC56DE73CE3F75

View file

@ -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 {