Skip to content

Commit

Permalink
fixing issue with queue.Start()
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeLieutenant committed May 12, 2024
1 parent 8d26755 commit aef9f9e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions consumer/queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,7 @@ func (c *Consumer[T]) Start(base context.Context) error {

defer conn.Close()

<-base.Done()

return nil
}

0 comments on commit aef9f9e

Please sign in to comment.