mirror of
https://github.com/acaloiaro/neoq
synced 2026-07-21 10:12:18 +00:00
Remove TODO for seconds cron syntax in asynq
This commit is contained in:
parent
95ff9152a4
commit
94d7d68539
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue