2
0
mirror of https://github.com/hibiken/asynq.git synced 2025-10-24 10:36:12 +08:00

chore(): 设置jobId 为cmdb的instanceId

This commit is contained in:
pacinochen
2022-03-07 15:54:36 +08:00
parent b345b237c7
commit 21d91a1313
14 changed files with 94 additions and 90 deletions

View File

@@ -802,7 +802,7 @@ func (i *Inspector) SchedulerEntries() ([]*SchedulerEntry, error) {
}
for _, e := range res {
task := NewTask(e.Type, e.Payload)
task := NewTask(e.Type, "", e.Payload)
var opts []Option
for _, s := range e.Opts {
if o, err := parseOption(s); err == nil {