Skip to content

Commit

Permalink
taskloop: Set an effectively unbounded chunk limit for subprocess stdio
Browse files Browse the repository at this point in the history
The small default of 64k might be suitable for public-facing servers to
prevent DoS, but not for our usecases where we might transfer large
amounts of data between processes.
  • Loading branch information
jix committed Nov 30, 2023
1 parent 8803d14 commit bfa2f06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/yosys_mau/task_loop/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ async def on_run(self) -> None:
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
cwd=cwd,
limit=1 << 60,
**subprocess_args,
)
self.__process_started = True
Expand Down

0 comments on commit bfa2f06

Please sign in to comment.