Fix a storage problem with large cache data.

Review Request #2502 — Created July 29, 2011 and submitted

chipx86
Djblets
master
1660
djblets
Fix a storage problem with large cache data.

Large cache data was encoded incorrectly, causing anything stored to become
unloadable, meaning it'd have to be recomputed. This was due to a string being
stored for all but the last chunk, instead of a string wrapped in a list.
This affects any data that, after being picked and zlib-compressed, is over
1MB in size.

There are now unit tests that check for this.
New unit tests pass. They failed before. Also confirmed this by hand.
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Committed to master (64ba001)
Loading...