Skip to content

Commit

Permalink
Increase streaming limit
Browse files Browse the repository at this point in the history
  • Loading branch information
basnijholt committed Feb 27, 2024
1 parent 69dcebd commit 2646853
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rsync_time_machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,12 +386,14 @@ async def async_run_cmd(
f"{ssh.cmd} '{cmd}'",
stdout=asyncio.subprocess.PIPE,
stderr=asyncio.subprocess.PIPE,
limit=2**19, # default is 2**16 = 64 KiB
)
else:
process = await asyncio.create_subprocess_shell(
cmd,
stdout=asyncio.subprocess.PIPE,
stderr=asyncio.subprocess.PIPE,
limit=2**19, # default is 2**16 = 64 KiB
)

# Should not be None because of asyncio.subprocess.PIPE
Expand Down

0 comments on commit 2646853

Please sign in to comment.