Skip to content

Commit

Permalink
chore: Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
erezrokah committed Sep 17, 2024
1 parent 25ff3d2 commit 71f25b9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scheduler/queue/priorityqueue.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ func newQueue(tableClients []TableClientPair) *priorityQueue {
}

type ConcurrentQueue struct {
maxSize int
queue *priorityQueue
lock sync.Mutex
itemCountByTableAndClient map[string]int
Expand All @@ -88,7 +87,6 @@ func tableClientID(tableClient TableClientPair) string {
func NewConcurrentQueue(tableClients []TableClientPair) *ConcurrentQueue {
cq := ConcurrentQueue{
queue: newQueue(tableClients),
maxSize: defaultMaxSize,
itemCountByTableAndClient: make(map[string]int),
}
for _, tc := range tableClients {
Expand Down

0 comments on commit 71f25b9

Please sign in to comment.