Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

doc: add note to Realtime removeSubscription() doc

Wen Bo Xie31a9ab28c3b6
diff --git a/web/README.md b/web/README.md
index 20ccfd87c53..90b231112d7 100644
--- a/web/README.md
+++ b/web/README.md
@@ -6,6 +6,6 @@
- `cd /web/spec/`
- run `make` which will pull the latest TSDoc with your updates
- add your comments to `supabase.yml` | `postgrest.yml` | `gotrue.yml` | `realtime.yml`
-- run `npm run gen:supabase` inside the /specs folder which will generate the Docusaurus pages
+- run `npm run gen:supabase` inside the `/spec` folder which will generate the Docusaurus pages
- run `npm run build` to make sure the build is working
- submit your PR
diff --git a/web/spec/supabase.yml b/web/spec/supabase.yml
index f693209fe58..be7ae1bc823 100644
--- a/web/spec/supabase.yml
+++ b/web/spec/supabase.yml
@@ -853,6 +853,8 @@ pages:
removeSubscription():
title: 'removeSubscription()'
$ref: '@supabase/supabase-js."SupabaseClient".SupabaseClient.removeSubscription'
+ notes: |
+ - Removing subscriptions will keep your Realtime Elixir server performant. Failing to do so will increase message latency and eventually cause message delivery failures as more of your users are simultaneously subscribed.
examples:
- name: Remove a subscription
isSpotlight: true