Closed
Bug 617486
Opened 14 years ago
Closed 13 years ago
Quota handling adds tab length to the wrong array element
Categories
(Cloud Services Graveyard :: Server: Sync, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: telliott, Assigned: telliott)
References
Details
Attachments
(1 file, 1 obsolete file)
416 bytes,
patch
|
mconnor
:
review+
|
Details | Diff | Splinter Review |
$this->_quota[1] += strlen($tab[1]); should be $this->_quota[0] += strlen($tab[1]); The main visible impact of this is that tabs will not count towards displayed quota. Given their size, that shouldn't matter. In the long run, once we actually enable quota control, this will also mess with how often we refresh the quota from the db. As I'm working on stringifying those anyway, I think it would be easiest just to store the quota as [size]:[date] rather than as an array, so the fix will just get folded into that change.
Assignee | ||
Comment 1•14 years ago
|
||
decided against stringification, since tarek may want to just use a universal layer for extracting these, and having one be different will just cause problems.
Assignee | ||
Comment 2•14 years ago
|
||
Attachment #496544 -
Flags: review?(mconnor)
Assignee | ||
Comment 3•14 years ago
|
||
Attachment #496544 -
Attachment is obsolete: true
Attachment #496546 -
Flags: review?(mconnor)
Attachment #496544 -
Flags: review?(mconnor)
Comment 4•14 years ago
|
||
Comment on attachment 496546 [details] [diff] [review] adds tab length to the right quota field We need tests for this.
Attachment #496546 -
Flags: review?(mconnor) → review+
Assignee | ||
Updated•14 years ago
|
Assignee: telliott → tarek
Comment 5•13 years ago
|
||
Not sure what's the status of this (I don't see it applied) Assigning to Toby nb: we don't worry anymore about php/python memcached exchanges
Assignee: tarek → telliott
Assignee | ||
Comment 6•13 years ago
|
||
Fixed and pushed back in December
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•1 year ago
|
Product: Cloud Services → Cloud Services Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•