[#389] Fix for "Too many open files" media issue. #390
No reviewers
Labels
No labels
architecture
authentication
backend
bug
ci/cd
cleanup
documentation
duplicate
enhancement
good first issue
help wanted
in progress
invalid
media
mobile
new feature
notes
packaging
question
ui
voice
waiting user input
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: platypush/platypush#390
Loading…
Add table
Add a link
Reference in a 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