func (jq *jobQueue) addJob(c check.Check) {
	jq.mu.Lock()
	defer jq.mu.Unlock()

	// Checks scheduled to buckets scheduled with sparse round-robin
	jq.buckets[jq.schedulingBucketIdx].addJob(c)
	jq.schedulingBucketIdx = (jq.schedulingBucketIdx + jq.sparseStep) % uint(len(jq.buckets))
}
// addJob is a convenience method to add a check to a queue
addJob is a convenience method to add a check to a queue
// addJob is a convenience method to add a check to a queue
func (jq *jobQueue) addJob(c check.Check) {
	jq.mu.Lock()
	defer jq.mu.Unlock()
	jq.buckets[jq.schedulingBucketIdx].addJob(c)
	jq.schedulingBucketIdx = (jq.schedulingBucketIdx + jq.sparseStep) % uint(len(jq.buckets))
}
func ( jq * jobQueue ) addJob ( c check . Check ) { jq . mu . Lock ( ) defer jq . mu . Unlock ( ) jq . buckets [ jq . schedulingBucketIdx ] . addJob ( c ) jq . schedulingBucketIdx = ( jq . schedulingBucketIdx + jq . sparseStep ) % uint ( len ( jq . buckets ) ) }
addJob is a convenience method to add a check to a queue
addJob is a convenience method to add a check to a queue
// Checks scheduled to buckets scheduled with sparse round-robin