Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vijayviji committed Dec 30, 2018
1 parent 629bdd4 commit 333b2f1
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 @@ -37,7 +37,7 @@ func (ex *Executor) newFixedThreadPool(poolSize uint32, qSize uint32, data inter
ex.taskQueue = make(chan ExecutorTask, qSize)

for i := uint32(0); i < poolSize; i++ {
go taskLoop(ex, i+1)
go taskLoop(ex, int(i+1))
}
}

Expand Down

0 comments on commit 333b2f1

Please sign in to comment.