Skip to content

Conversation

@bdraco
Copy link
Member

@bdraco bdraco commented Feb 12, 2023

closing fds can take a long time and its unlikely python is going to implement the close_range() system call [https://lwn.net/Articles/789023/] any time soon. Since we do not need to close the fds here as it does not cause any issues for ffmpeg we can spawn ffmpeg stream much faster in HA after home-assistant/core#87958

closing fds can take a long time and its unlikely python is going
to implement the close_range() system call [https://lwn.net/Articles/789023/]
any time soon. Since we do not need to close the fds here as
it does not cause any issues for ffmpeg we can spawn ffmpeg
stream much faster in HA after home-assistant/core#87958
@bdraco bdraco marked this pull request as ready for review February 12, 2023 22:54
@MartinHjelmare MartinHjelmare merged commit 0adfcbf into master Feb 13, 2023
@MartinHjelmare MartinHjelmare deleted the subproc branch February 13, 2023 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants