mirror of
https://github.com/gogcom/galaxy-integrations-python-api.git
synced 2026-01-18 03:38:15 -05:00
Increase size that is to be read at once from reader's buffer
This commit is contained in:
@@ -12,7 +12,7 @@ class StreamLineReader:
|
||||
while True:
|
||||
# check if there is no unprocessed data in the buffer
|
||||
if not self._buffer or self._processed_buffer_it != 0:
|
||||
chunk = await self._reader.read(1024)
|
||||
chunk = await self._reader.read(1024*1024)
|
||||
if not chunk:
|
||||
return bytes() # EOF
|
||||
self._buffer += chunk
|
||||
|
||||
Reference in New Issue
Block a user