python-zipstream
python-zipstream copied to clipboard
Make chunk size configurable
Currently the code reads files by 8 Kb chunks: https://github.com/arjan-s/python-zipstream/blob/961886fbb77530515bf6b3f595dd5fd29c1c1c97/zipstream/init.py#L310
Would it be beneficial to make it configurable?
To be honest, I don't know. The current code was already there when I forked the repo, so I'm not sure why this size was chosen. If you or anyone else cares about making this configurable, I'd be happy to accept a PR and make a new release for it.