Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blackroot committed Dec 7, 2021
1 parent 84eabe1 commit 466cb66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xdelay_queue/delay_queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,11 @@ func (dq *DelayQueue) handleTicker(t time.Time, bucketName string) {
for {
bucketZ, err := dq.getJobFromBucketZ(bucketName)
if err != nil {
continue
return
}

if bucketZ == nil {
continue
return
}

job, err := dq.getJob(bucketZ.jobId)
Expand Down

0 comments on commit 466cb66

Please sign in to comment.