Skip to content

Commit

Permalink
tmp: notifyEnqueued() when queued item is updated
Browse files Browse the repository at this point in the history
  • Loading branch information
sharnoff committed Dec 14, 2024
1 parent 8d8a19f commit 24f8a27
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/plugin/reconcile/queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,9 @@ func (q *Queue) enqueueInactive(k Key, v value) {
queuedHandle.Update(func(queuedValue *kv) {
queuedValue.v = queuedValue.v.mergeWithNewer(v)
})
// the value of reconcileAt for the item may have changed; we should notify just in case, so
// it's not waiting.
q.notifyEnqueued()
return
}

Expand Down

0 comments on commit 24f8a27

Please sign in to comment.