Ticket #11155: buffersize.diff

File buffersize.diff, 415 bytes (added by seph, 16 years ago)

Patch to set buffer size to 16k

  • django/core/files/images.py

     
    4040        close = True
    4141    try:
    4242        while 1:
    43             data = file.read(1024)
     43            data = file.read(16384)
    4444            if not data:
    4545                break
    4646            p.feed(data)
Back to Top