-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Deduplicate events before sending them into the workqueue. (#1390)
* ✨ Deduplicate events before sending them into the workqueue. This avoids race conditions where extra reconciles can happen rarely. * ✨ Switch to map[string]struct{} to reduce memory usage slightly. Also make sure that enqueue_mapped preserves order. * 📝 Update function doc for getOwnerReconcileRequest. * 🎨 Fix up duplication tests and ensure Update for _mapped dedups between both objects.
- Loading branch information
1 parent
b125a18
commit 253f275
Showing
4 changed files
with
123 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters