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

chore: remove usused pg_notify code #2574

Merged
merged 1 commit into from
Sep 2, 2024
Merged

chore: remove usused pg_notify code #2574

merged 1 commit into from
Sep 2, 2024

Conversation

matt2e
Copy link
Collaborator

@matt2e matt2e commented Sep 2, 2024

closes #2156

  • pubsub was never using the pg_notify events, but the controller was listening for them anyway
  • deployment updates we switched to a polling approach and seems to be working fine.
  • This PR cleans up the code and sql that is no longer being used.

@alecthomas Feel free to reject this PR if you want to keep this streaming code because you think it's worth bringing it back in the future.

@matt2e matt2e requested review from a team and jonathanj-square and removed request for a team September 2, 2024 03:10
@matt2e matt2e changed the title chore: remove pg_notify usage chore: remove pg_notify deadcode Sep 2, 2024
@matt2e matt2e changed the title chore: remove pg_notify deadcode chore: remove usused pg_notify code Sep 2, 2024
@ftl-robot ftl-robot mentioned this pull request Sep 2, 2024
@alecthomas
Copy link
Collaborator

I do think polling will become an issue at some point, but we can a) always restore it and b) we'll probably have split the controller into separate services by then anyway.

@matt2e matt2e added this pull request to the merge queue Sep 2, 2024
Merged via the queue into main with commit c5e8e40 Sep 2, 2024
25 checks passed
@matt2e matt2e deleted the matt2e/remove-pgnotify branch September 2, 2024 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Decide on pg notify use and clean up
2 participants