Skip to content

Commit

Permalink
Merge pull request #241 from influxdata/js-fix-double-requeue
Browse files Browse the repository at this point in the history
fix(control): fix when a query is requeued multiple times
  • Loading branch information
jsternberg authored Nov 5, 2018
2 parents 813a9d4 + d6cc35b commit a01d24f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions control/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,9 @@ func (q *Query) tryRequeue() bool {

q.state = Requeueing
return true
} else if q.state == Requeueing {
// Already in the correct state.
return true
}
return false
}
Expand Down

0 comments on commit a01d24f

Please sign in to comment.