Skip to content

v3.1.2: 3.1.2 Set the PTY fd to be non-blocking (#36)

Choose a tag to compare

@github-actions github-actions released this 15 Jul 22:55
· 52 commits to main since this release
f77eab0
We have gone back and forth a couple of times, but we _do_ need to set
this FD to be non-blocking. Otherwise node will fully consume one I/O
thread for each PTY, and node only has four of those.

This change makes the controller fd (the one the parent process reads
from / writes to) as non-blocking for node.