Skip to content

Commit

Permalink
lock should use job.name not id
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRoesler authored Nov 16, 2023
1 parent 5637335 commit 7ee92ef
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
Expand Up @@ -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
}
Expand Down

0 comments on commit 7ee92ef

Please sign in to comment.