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

Various 8.1.0 fixes #8495

Merged
merged 2 commits into from
Mar 10, 2025
Merged

Various 8.1.0 fixes #8495

merged 2 commits into from
Mar 10, 2025

Conversation

qstokkink
Copy link
Contributor

@qstokkink qstokkink commented Mar 10, 2025

Fixes #8489 (experimental fix)
Fixes #8485

This PR:

  • Updates DownloadManager.remove_config() to use Path.unlink() instead of os.access() + os.remove(). At best, this fixes Undeletable Torrents #8489, and in the worst case this only modernizes the code.
  • Updates DownloadManager.create_session() to use the always_pwrite flag.

@qstokkink qstokkink changed the title WIP: Various 8.1.0 fixes READY: Various 8.1.0 fixes Mar 10, 2025
@qstokkink qstokkink marked this pull request as ready for review March 10, 2025 13:07
@qstokkink qstokkink changed the title READY: Various 8.1.0 fixes Various 8.1.0 fixes Mar 10, 2025
@qstokkink qstokkink merged commit d04b538 into Tribler:main Mar 10, 2025
7 checks passed
@qstokkink qstokkink deleted the various_810_fixes branch March 10, 2025 13:18
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.

Undeletable Torrents 8.1.0 prerelease used 59gb of memory
2 participants