brave / go-sync

Brave sync server v2
Mozilla Public License 2.0
185 stars 44 forks source link

Add quota for history entities, and ignore new history entities if quota is exceeded #249

Closed DJAndries closed 3 months ago

DJAndries commented 4 months ago

Add a quota for history entities of 26k. When the quota is exceeded, do not insert new history items into the database. Do not return an OVER_QUOTA error; instead, lie to the client about the history objects being synced so the client does not back off indefinitely.