mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Use CHUNK_SIZE. [2]
This commit is contained in:
parent
8fd45bbee4
commit
b808c48789
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue