Services/Sync/Server/Notes/QuotaAlgo: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
Line 9: Line 9:
# if total > quota, reject write
# if total > quota, reject write
# add sum of incoming payloads to quota
# add sum of incoming payloads to quota
# if total > low_threshold, add an X-Weave-Quota header: <current> <max>
# if total > low_threshold, add an X-Weave-Quota-Remaining header (value is remaining storage space in bytes)
 
On a delete
On a delete
# delete user quota record from memcache
# delete user quota record from memcache
canmove, Confirmed users
725

edits

Navigation menu