Skip to content

Commit 489410a

Browse files
committed
implement priority queue
Signed-off-by: Troy Connor <[email protected]>
1 parent 1e01bc7 commit 489410a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/handler/enqueue_mapped.go

-3
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,6 @@ func (e *enqueueRequestsFromMapFunc[object, request]) Update(
141141
}
142142
}
143143
}
144-
reqs := map[request]empty{}
145-
e.mapAndEnqueue(ctx, q, evt.ObjectOld, reqs)
146-
e.mapAndEnqueue(ctx, q, evt.ObjectNew, reqs)
147144
}
148145

149146
// Delete implements EventHandler.

0 commit comments

Comments
 (0)