Skip to content

Commit 19c59b9

Browse files
committed
docs: remove start the worker.
Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent 86d9d95 commit 19c59b9

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,6 @@ func main() {
9090
)
9191
defer q.Release()
9292

93-
// start the five worker
94-
q.Start()
95-
9693
// assign tasks in queue
9794
for i := 0; i < taskN; i++ {
9895
go func(i int) {

_example/single/main.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ func main() {
5151
)
5252
defer q.Release()
5353

54-
// start the five worker
55-
q.Start()
56-
5754
// assign tasks in queue
5855
for i := 0; i < taskN; i++ {
5956
go func(i int) {

0 commit comments

Comments
 (0)