mirror of
https://github.com/hibiken/asynq.git
synced 2025-10-25 10:56:12 +08:00
Support cronspec seconds field
This commit is contained in:
@@ -74,7 +74,7 @@ func NewScheduler(r RedisConnOpt, opts *SchedulerOpts) *Scheduler {
|
||||
logger: logger,
|
||||
client: NewClient(r),
|
||||
rdb: rdb.NewRDB(c),
|
||||
cron: cron.New(cron.WithLocation(loc)),
|
||||
cron: cron.New(cron.WithLocation(loc), cron.WithSeconds()),
|
||||
location: loc,
|
||||
done: make(chan struct{}),
|
||||
preEnqueueFunc: opts.PreEnqueueFunc,
|
||||
|
||||
Reference in New Issue
Block a user