Skip to content

Commit

Permalink
delete zset
Browse files Browse the repository at this point in the history
  • Loading branch information
blackroot committed Mar 21, 2022
1 parent 7c7c1a8 commit 0624620
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xdelay_queue/delay_queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,9 @@ func (dq *DelayQueue) handleTicker(t time.Time, bucketName string) {

job, err := dq.getJob(bucketZ.jobId)
if err != nil {
if errors.Is(err, redis.Nil) {
_ = dq.removeJobFromBucketZ(bucketName, bucketZ.jobId)
}
continue
}

Expand Down

0 comments on commit 0624620

Please sign in to comment.