Skip to content

Commit

Permalink
fixup! limit jobs planned
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwanthgoli committed Dec 17, 2024
1 parent 7be667e commit 51c3cf4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/blockbuilder/scheduler/queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ type JobQueue struct {
completed *CircularBuffer[*JobWithMetadata] // Last N completed jobs
statusMap map[string]types.JobStatus // Maps job ID to its current status
metrics *jobQueueMetrics

mu sync.RWMutex
mu sync.RWMutex
}

func NewJobQueueWithLogger(logger log.Logger, reg prometheus.Registerer) *JobQueue {
Expand Down

0 comments on commit 51c3cf4

Please sign in to comment.