Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(1-3220): only push updates to listeners in the same environment #620

Merged
merged 5 commits into from
Jan 6, 2025

Conversation

thomasheartman
Copy link
Contributor

This PR updates the broadcaster to only push updates to listeners in the environment it got updates for. In other words, if you get an update for "development" config, you shouldn't push an update to listeners subscribed to the "production" environment.

This is the first step in more selective pushing (the next would be to do as we do in Unleash and hash the result of each query so that we only push out updates when something's actually changed).

This reverts commit c26e69e.

Brings the feature back
Copy link

github-actions bot commented Jan 6, 2025

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

@chriswk chriswk self-requested a review January 6, 2025 13:42
Copy link
Member

@chriswk chriswk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thomasheartman thomasheartman enabled auto-merge (squash) January 6, 2025 13:57
@thomasheartman thomasheartman merged commit 9de3014 into main Jan 6, 2025
9 checks passed
@thomasheartman thomasheartman deleted the feat(1-3220)/simple-impl-of-selective-updates branch January 6, 2025 14:01
@unleash-bot unleash-bot bot mentioned this pull request Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants