generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove usused pg_notify code (#2574)
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.
- Loading branch information
Showing
2 changed files
with
9 additions
and
149 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
9 changes: 9 additions & 0 deletions
9
backend/controller/sql/schema/20240902030242_remove_notify.sql
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
-- migrate:up | ||
|
||
DROP TRIGGER IF EXISTS deployments_notify_event ON deployments; | ||
DROP TRIGGER IF EXISTS topics_notify_event ON topics; | ||
DROP TRIGGER IF EXISTS topic_events_notify_event ON topic_events; | ||
DROP FUNCTION IF EXISTS notify_event(); | ||
|
||
-- migrate:down | ||
|