Skip to content

Commit

Permalink
oops...
Browse files Browse the repository at this point in the history
  • Loading branch information
grutt committed Aug 1, 2024
1 parent 24b5046 commit a5e249e
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions internal/services/controllers/jobs/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,14 +136,16 @@ func New(fs ...JobsControllerOpt) (*JobsControllerImpl, error) {
a.WithData(map[string]interface{}{"service": "jobs-controller"})

return &JobsControllerImpl{
mq: opts.mq,
l: opts.l,
repo: opts.repo,
dv: opts.dv,
s: s,
a: a,
partitionId: opts.partitionId,
requeueMutexes: make(map[string]*sync.Mutex),
mq: opts.mq,
l: opts.l,
repo: opts.repo,
dv: opts.dv,
s: s,
a: a,
partitionId: opts.partitionId,
requeueMutexes: make(map[string]*sync.Mutex),
reassignMutexes: make(map[string]*sync.Mutex),
timeoutMutexes: make(map[string]*sync.Mutex),
}, nil
}

Expand Down

0 comments on commit a5e249e

Please sign in to comment.