Page MenuHomePhabricator

Purge soft deletes on a regular basis
Closed, ResolvedPublic

Description

In order to not store too many dead items in the database, we need to purge soft deletes on a regular basis

In order to do this we need to pick a sane number of days to allow clients the opportunity to sync before deleting. To start, we will pick:

30 days

After this time, we should run a job (cron job?) to purge deletes older than this age.

Clients will be expected to do a full sync if they have not updated within less than the 30 day window (thus ensuring they have all the changes)