Skip to content

Commit 3b696d4

Browse files
committed
docs: update error message
Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent 6f079ad commit 3b696d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

queue.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"time"
1111
)
1212

13-
// ErrQueueShutdown close the queue.
14-
var ErrQueueShutdown = errors.New("queue has been closed")
13+
// ErrQueueShutdown the queue is released and closed.
14+
var ErrQueueShutdown = errors.New("queue has been closed and released")
1515

1616
// TaskFunc is the task function
1717
type TaskFunc func(context.Context) error

0 commit comments

Comments
 (0)