Skip to content

Commit

Permalink
Merge pull request #693 from permitio/asaf/cto-372-opal-fix-runner-pi…
Browse files Browse the repository at this point in the history
…ping-logs-does-not-always-work

fix _pipe_log_stream not running consistently for monitored subprocess
  • Loading branch information
Asaf Cohen authored Nov 5, 2024
2 parents 23006ab + 778cc6f commit 989869a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/opal-client/opal_client/engine/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ async def _pipe_logs_stream(stream: asyncio.StreamReader):

line = b""

await asyncio.wait(
[
await asyncio.gather(
*[
_pipe_logs_stream(self._process.stdout),
_pipe_logs_stream(self._process.stderr),
]
Expand Down

0 comments on commit 989869a

Please sign in to comment.