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

fix: fixing seeding on level #1444

Merged
merged 10 commits into from
Feb 16, 2025
Merged

fix: fixing seeding on level #1444

merged 10 commits into from
Feb 16, 2025

Conversation

thegrannychaseroperation
Copy link
Contributor

When submitting this pull request, I confirm the following (please check the boxes):

  • I have read and understood the Contributor Guidelines.
  • I have checked that there are no duplicate pull requests related to this request.
  • I have considered, and confirm that this submission is valuable to others.
  • I accept that this submission may not be used and the pull request may be closed at the discretion of the maintainers.

Fill in the PR content:

Copy link
Contributor

@greptile-apps greptile-apps bot left a 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 where DownloadManager.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

Hachi-R

This comment was marked as duplicate.

Copy link
Collaborator

@Hachi-R Hachi-R left a comment

Choose a reason for hiding this comment

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

LGTM

@zamitto zamitto merged commit 42ae8e7 into main Feb 16, 2025
4 checks passed
@zamitto zamitto deleted the fix/fixing-seeding-on-level branch February 16, 2025 02:22
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.

3 participants