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

Threaded transfers loader #2917

Closed
wants to merge 1 commit into from

Conversation

slook
Copy link
Member

@slook slook commented Mar 2, 2024

Draft concept to close #2910

On initial testing it doesn't appear to actually make any difference. I think Multiprocessing is needed?

Theoretically, this could be dangerous unless self._allow_saving_transfers is used to block most functions.

@mathiascode
Copy link
Member

GTK is single-threaded. You'd need to implement something like https://github.com/mathiascode/nicotine-plus/tree/async-rows instead, adding rows in batches (currently, only user browse works somewhat, but there are several edge cases you need to handle).

@slook slook mentioned this pull request Mar 21, 2024
@slook
Copy link
Member Author

slook commented Mar 21, 2024

Thank you I was confident that you would have a better suggestion like that, so I'd like us to work on #2952 instead.

@slook slook closed this Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

App irreparably frozen after accidentally queueing up a very large download
2 participants