Cache rendered diff fragments with large_data=True

Review Request #6255 — Created Aug. 21, 2014 and submitted

Information

Review Board
release-2.0.x
724afc3...

Reviewers

Diff fragments usually aren't too big for individual cache entries, but when
they are, they cause warnings. This change stores them using large_data=True,
which will split them into pieces before caching.

  • Ran unit tests
  • Created a diff where a fragment exceeded the cache entry size limit and
    didn't see a warning.
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/diffviewer/renderers.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/diffviewer/renderers.py
    
    
  2. 
      
chipx86
  1. Ship It!

  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.0.x (ec5d287)
Loading...