-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
fix: fixing seeding on level #1444
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
This PR addresses inconsistencies in the game seeding functionality by modifying the download status management in the level database.
- Fixed status tracking in
/src/main/events/torrenting/resume-game-seed.ts
by setting explicit "seeding" state when resuming - Potential race condition in
resume-game-seed.ts
whereDownloadManager.resumeSeeding()
uses stale download object - Inconsistent status handling in
/src/main/events/torrenting/pause-game-seed.ts
using "complete" instead of a paused state - Modified download state access pattern in
/src/renderer/src/pages/downloads/download-group.tsx
to use game.download reference
3 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…alauncher/hydra into fix/fixing-seeding-on-level
|
When submitting this pull request, I confirm the following (please check the boxes):
Fill in the PR content: