supabase / realtime

Broadcast, Presence, and Postgres Changes via WebSockets
https://supabase.com/realtime
Apache License 2.0
6.83k stars 315 forks source link

fix: Add last_active_at to Tenant #1200

Closed filipecabaco closed 2 weeks ago

filipecabaco commented 2 weeks ago

What kind of change does this PR introduce?

Adds last_active_at to Tenant so we can use it in the Janitor module which will handle tenant cleanup of partitions.

For now we will only clean up partitions of the users that have been online during the last 5 days

vercel[bot] commented 2 weeks ago

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](https://vercel.com/supabase/realtime-demo/91uu6WFDv1vvSspxQVNmTzMUygCJ)) | [Visit Preview](https://realtime-demo-git-fix-add-last-active-at-supabase.vercel.app) | | Nov 8, 2024 11:53pm |
filipecabaco commented 2 weeks ago

https://github.com/supabase/realtime/pull/1201