Closed Bug 858693 Opened 12 years ago Closed 12 years ago

[email] Adjust block size targets since B2G IndexedDB SQLite page size is decreasing to 2k from 32k

Categories

(Firefox OS Graveyard :: Gaia::E-Mail, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: asuth, Unassigned)

References

Details

The constants in mailslice.js assume a 32k page size. Bug 857376 (and its friend bug 858674) is reducing that to 2k. As such, we really want to better target that size, or something in the neighborhood. (By using a slightly larger size, there's a potential non-trivial compression win.) Probably target an uncompressed size of ~8k which should end up down in the 2 page range, although the best solution would be to try a few different sizes with representative message corpuses and use the debug page map dumper to figure out how many pages we actually end up using.
This was fixed in two stages: - bug 857900: Block target sizes updated - bug 871897: IMAP purge constants updated
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.