Skip to content

Commit

Permalink
docs: update error message
Browse files Browse the repository at this point in the history
Signed-off-by: Bo-Yi Wu <[email protected]>
  • Loading branch information
appleboy committed Aug 15, 2021
1 parent 6f079ad commit 3b696d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"time"
)

// ErrQueueShutdown close the queue.
var ErrQueueShutdown = errors.New("queue has been closed")
// ErrQueueShutdown the queue is released and closed.
var ErrQueueShutdown = errors.New("queue has been closed and released")

// TaskFunc is the task function
type TaskFunc func(context.Context) error
Expand Down

0 comments on commit 3b696d4

Please sign in to comment.