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

perf: fix filetransfer callback loop #1711

Closed
wants to merge 1 commit into from

Conversation

sudden6
Copy link

@sudden6 sudden6 commented Nov 29, 2021

The exit conditions inside do_all_filetransfers(...) are broken and
didn't cause the early exit which was probably intended. This caused
excessive CPU load when no files are transferred.

Measurements

Before Before this PR

Screenshot_20211129_195518 With this PR


This change is Reviewable

The exit conditions inside do_all_filetransfers(...) are broken and
didn't cause the early exit which was probably intended. This caused
excessive CPU load when no files are transferred.
@auto-add-label auto-add-label bot added the performance A code change that improves performance label Nov 29, 2021
@sudden6
Copy link
Author

sudden6 commented Nov 29, 2021

Seems I did basically the same thing in #1674 already and forgot about it....

@sudden6 sudden6 closed this Nov 29, 2021
@iphydf iphydf added this to the meta milestone Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance A code change that improves performance
Development

Successfully merging this pull request may close these issues.

2 participants