Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
correct lock to use job.name instead of id
Browse files Browse the repository at this point in the history
Le Ha Khiem authored and JohnRoesler committed Nov 16, 2023
1 parent 5637335 commit 6333bd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion executor.go
Original file line number Diff line number Diff line change
@@ -337,7 +337,7 @@ func (e *executor) runJob(j internalJob) {
return
}
} else if e.locker != nil {
lock, err := e.locker.Lock(j.ctx, j.id.String())
lock, err := e.locker.Lock(j.ctx, j.name)
if err != nil {
return
}

0 comments on commit 6333bd9

Please sign in to comment.