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

fix: listen on notifications for error handling #1253

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

filipecabaco
Copy link
Contributor

@filipecabaco filipecabaco commented Dec 20, 2024

What kind of change does this PR introduce?

  • Adds Realtime.Tenants.Listen to receive error messages from functions so we can better inform our users
  • Changes send function to not handle any partition creation
  • Changes send function to pg_notify to realtime:system so we can capture and handle in Realtime

Copy link

vercel bot commented Dec 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
realtime-demo ⬜️ Ignored (Inspect) Visit Preview Dec 23, 2024 6:02pm

* Adds Realtime.Tenants.Listen to receive error messages from functions so we can better inform our users
* Changes send function to not handle any partition creation
* Changes send function to pg_notify to `realtime:system` so we can capture and handle in Realtime
* Increases number of future partitions to 10 days to prevent issues
@filipecabaco filipecabaco force-pushed the fix/improve-error-handling-on-realtime-functions branch from a7e54f8 to 72ff20a Compare December 20, 2024 16:23
lib/realtime/tenants/migrations.ex Outdated Show resolved Hide resolved
Co-authored-by: Chase Granberry <[email protected]>
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.

2 participants