Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid multiple discovery processes running at the same time #1839

Merged
merged 1 commit into from
Jul 14, 2022

Conversation

nielsvanvelzen
Copy link
Member

When switching between the user and server selection screens the process continuously restarted. This causes a lot of logs and network activity. Prevent this by running only one process at a time.

Changes

  • Add mutex to only run one discovery process at a time

Issues

When switching between the user and server selection screens the process continuously restarted. This causes a lot of logs and network activity. Prevent this by running only one process at a time.
Copy link
Member

@thornbill thornbill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Untested, but looks good

@nielsvanvelzen nielsvanvelzen merged commit 2977452 into jellyfin:master Jul 14, 2022
@nielsvanvelzen nielsvanvelzen deleted the avoid-discovery-spam branch July 14, 2022 06:56
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.

2 participants