Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRoesler committed Nov 3, 2023
1 parent 848f6d4 commit 7bd6034
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
6 changes: 1 addition & 5 deletions executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ func (e *executor) start() {
// wait mode, fill up that queue
runner.in <- id
}

} else {
// we've gotten to the basic / standard jobs --
// the ones without anything special that just want
Expand Down Expand Up @@ -189,10 +188,7 @@ func (e *executor) start() {
standardJobsWg.Wait()
waitForJobs <- struct{}{}
}()
select {
case <-waiterCtx.Done():
return
}
<-waiterCtx.Done()
}()

// wait for per job singleton limit mode runner jobs to complete
Expand Down
1 change: 0 additions & 1 deletion scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,6 @@ func (s *scheduler) selectRemoveJobsByTags(tags []string) {
}

func (s *scheduler) selectStart() {

go s.exec.start()

s.started = true
Expand Down
2 changes: 0 additions & 2 deletions util.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@ func (w *waitGroupWithMutex) Add(delta int) {
}

func (w *waitGroupWithMutex) Done() {
//w.mu.Lock()
//defer w.mu.Unlock()
w.wg.Done()
}

Expand Down

0 comments on commit 7bd6034

Please sign in to comment.