-
Notifications
You must be signed in to change notification settings - Fork 71
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: only fire modify event when FeatureFlagConfiguration Generation field has changed #167
Conversation
This field changes when |
Have you tested this? I had this in the original implementation but issues ever getting it to work. |
Confirmed that this works for me. There is a slight delay in the update but there always was, right? Or did the delay get fixed at some point? |
Are we talking 5 seconds? Because that's the cache refresh time |
No, closer to a minute sadly. |
Interestingly that's the issue I had - I think the notifier has different update cycles based on whether it's the metadata update versus the spec itself. Can I test your changes before we go further? I will try and figure out if there is something we can tweak in the notifier itself. |
Sounds good, I'll have a play around too. |
I will do this, but might need a few days till I get time |
eff1470
to
bbe7d3f
Compare
I was able to get it working @AlexsJones 🎉 Tested alongside OFO, with this change the event is emitted immediately & exclusively when a change occurs. |
bf46f72
to
29b53a1
Compare
… field has changed Signed-off-by: Skye Gill <gill.skye95@gmail.com>
…hanged Signed-off-by: Skye Gill <gill.skye95@gmail.com>
Signed-off-by: Skye Gill <gill.skye95@gmail.com>
ac0ee5f
to
fd39eee
Compare
🤖 I have created a release *beep* *boop* --- ## [0.2.3](v0.2.2...v0.2.3) (2022-10-13) ### Features * Eventing ([#187](#187)) ([3f7fcd2](3f7fcd2)) * fixing informer issues ([#191](#191)) ([837b0c6](837b0c6)) * only fire modify event when FeatureFlagConfiguration Generation field has changed ([#167](#167)) ([e2fc7ee](e2fc7ee)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: Skye Gill gill.skye95@gmail.com