supabase / supabase-flutter

Flutter integration for Supabase. This package makes it simple for developers to build secure and scalable products.
https://supabase.com/
MIT License
711 stars 168 forks source link

refactor: Deprecate `eventsPerSecond` on Realtime #838

Closed dshukertjr closed 7 months ago

dshukertjr commented 7 months ago

What kind of change does this PR introduce?

Client-side Realtime rate-limiting was causing confusion among developers when they saw that some of their Realtime events were not being reflected. After some discussions by the Realtime team, they concluded that the client side rate limiting behavior is not ideal, and decided to drop it. There is a server side rate limiting feature in place.

This PR deprecates the eventsPerSecond and removes client-side rate limiting.

JS implementation: https://github.com/supabase/realtime-js/pull/260 Closes https://github.com/supabase/supabase-flutter/issues/837