Skip to content

Commit

Permalink
remove a sleep that's not needed (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
samos123 authored Jul 10, 2024
1 parent 4bbddf3 commit c4dc1da
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/queue/queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"log"
"sync"
"sync/atomic"
"time"
)

func New(initialConcurrency int) *Queue {
Expand Down Expand Up @@ -155,8 +154,6 @@ func (q *Queue) Start() {
itm := e.Value.(*item)
q.dequeue(itm, true)
log.Println("Dequeued: ", itm.id)

time.Sleep(time.Second / 100)
}
}

Expand Down

0 comments on commit c4dc1da

Please sign in to comment.