Skip to content
Prev Previous commit
Next Next commit
[wip] priority for planning jobs
  • Loading branch information
owen-d committed Dec 4, 2024
commit b7150cca2a5cb109e206f73d5a669c6454973845
2 changes: 1 addition & 1 deletion pkg/blockbuilder/scheduler/strategy.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (p *RecordCountPlanner) Plan(ctx context.Context) ([]*JobWithPriority[int],
types.NewJob(int(partitionOffset.Partition), types.Offsets{
Min: startOffset,
Max: endOffset,
}), int(endOffset-startOffset),
}), int(partitionOffset.End.Offset-startOffset),
)

jobs = append(jobs, job)
Expand Down