Closed filipecabaco closed 4 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
@filipecabaco when does the Listen
connection stop?
@filipecabaco when does the
Listen
connection stop?
The processes are linked so I would expect it to stop the connection but worth to check! I will try to do a test to check the behaviour for sanity sake 👍
@abc3 good call on the test, without restart: :transient we had the process auto restart wrongly, added a test to check what happens when we suspend a tenant (which kills conns)
:tada: This PR is included in version 2.30.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
just saw this on my timeline, and I think it should be noted in the docs for this that there is a relatively low limit on the notify payload size.
@psteinroe yes, 8kb. we want to give a new channel of communication that is more native to the database vs pg_net
we'll need to be careful to properly explain in the docs and this won't be launched for a while as this will be "private alpha" and feature flagged
What kind of change does this PR introduce?
Support LISTEN/NOTIFY on
realtime:broadcast
which allows users to trigger broadcast messages by sending a payload to this topic.We want to keep it as close to the Broadcast endpoint as possible and it already includes the feature flag
notify_private_alpha
to enabled it (defaults to false)