mirror of
https://github.com/hibiken/asynq.git
synced 2024-12-26 07:42:17 +08:00
Misc cleanup
This commit is contained in:
parent
96c51fdc23
commit
8aeeb61c9d
@ -137,15 +137,14 @@ func (i *Inspector) History(qname string, n int) ([]*DailyStats, error) {
|
||||
var (
|
||||
// ErrQueueNotFound indicates that the specified queue does not exist.
|
||||
ErrQueueNotFound = errors.New("queue not found")
|
||||
|
||||
// ErrQueueNotEmpty indicates that the specified queue is not empty.
|
||||
ErrQueueNotEmpty = errors.New("queue is not empty")
|
||||
|
||||
// ErrTaskNotFound indicates that the specified task cannot be found in the queue.
|
||||
ErrTaskNotFound = errors.New("task not found")
|
||||
)
|
||||
|
||||
type taskNotFoundError struct {
|
||||
}
|
||||
|
||||
// DeleteQueue removes the specified queue.
|
||||
//
|
||||
// If force is set to true, DeleteQueue will remove the queue regardless of
|
||||
|
Loading…
Reference in New Issue
Block a user