electric icon indicating copy to clipboard operation
electric copied to clipboard

Garbage collect Shapes that are no longer being used

Open balegas opened this issue 6 months ago • 3 comments

Diamonds are forever, but shapes shouldn't.

Once a shape is created it keeps being updated for eternity, however it might not being consumed anymore because the subscribers are gone, because the origin Postgres no longer exists, etc.

We should have a garbage collection policy in place that ensures that the server stops tracking shapes that are no longer necessary.

balegas avatar Aug 21 '24 08:08 balegas