Skip to content

Commit

Permalink
callci:解除job更新限制
Browse files Browse the repository at this point in the history
  • Loading branch information
blackroot committed Mar 24, 2022
1 parent e729075 commit d5fbda1
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,7 +133,7 @@ func (dq *DelayQueue) UpdateJob(jobCore *JobCore) error {
jobId string
bucketName string
bucketIdx int
doneTimes int64
//doneTimes int64
)
if job == nil {
jobId = jobCore.Id
Expand All @@ -144,7 +144,7 @@ func (dq *DelayQueue) UpdateJob(jobCore *JobCore) error {
jobId = job.Id
bucketName = job.BucketName
bucketIdx = job.BucketIndex
doneTimes = job.DoneTimes
//doneTimes = job.DoneTimes
}
//if doneTimes > 0 {
// return errors.New("job is doing")
Expand Down

0 comments on commit d5fbda1

Please sign in to comment.