Use CHUNK_SIZE. [2]

This commit is contained in:
Alex Root Junior 2018-04-08 17:23:58 +03:00
parent 8fd45bbee4
commit b808c48789

View file

@ -139,7 +139,7 @@ class InputFile(base.TelegramObject):
self.file.seek(0)
@classmethod
async def _process_stream(cls, response, writer, chunk_size=65536):
async def _process_stream(cls, response, writer, chunk_size=CHUNK_SIZE):
"""
Transfer data