-
Notifications
You must be signed in to change notification settings - Fork 495
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lru cache: Only send notifications to the new subscriber
When there's a new subscription to the cache we shouldn't notify all existing subscriptions. That causes them to receive updates even if there was no change to the SVIDs or bundles. This can cause issues with users that trigger side effects, such as restarting a service, when they receive updates on the X509 stream. Signed-off-by: Sorin Dumitru <sdumitru@bloomberg.net>
- Loading branch information
1 parent
a62344a
commit 81544fd
Showing
2 changed files
with
18 additions
and
13 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