[#389] Fix for "Too many open files" media issue. #390
No reviewers
Labels
No Label
architecture
bug
ci/cd
cleanup
documentation
duplicate
enhancement
good first issue
help wanted
in progress
invalid
new feature
packaging
question
ui
waiting user input
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: platypush/platypush#390
Loading…
Reference in New Issue
No description provided.
Delete Branch "fix-too-many-open-files-during-media"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It seems that the process keeps a lot of open connections to Chromecast devices during playback.
The most likely culprit is the
_refresh_chromecasts
logic.We should start a
cast
object and register a status listener only if a Chromecast with the same identifier isn't already registered in the plugin.Closes: #389