-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Add polling support #2914
Add polling support #2914
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JacksonKearl after a few discussions with some users of federation, I think we should ultimately scrap this PR for now. The tldr; is that we are more and more convinced that a live "pull" based model is a footgun that will end up causing a lot more pain than success for users. As new services are incrementally rolled out, the gateway would end up "flapping" (going from old to new to old to new) during its poll timing.
I think we should work with the community to find a great answer to a "push" model for updating the gateway instead
@jbaxleyiii So we're bringing this back? |
Merged this into enterprise-merge/remoteHostedServiceLists, as they're pretty intertwined. |
Merged into #2915 |
Actually nvm |
3e769f1
to
447eb07
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! This is but one piece of the puzzle, but I think this can merge into the megabranch and we can merge it all at once!
Add support for polling to OSS. The code is mainly taken from enterprise-gateway, but with the support for dynamically adding and removing listeners removed, as it complicates the code significantly and I'm not sure what the use case is. Happy to add it back if needed.