Skip to content

Major refactor - #68

Merged
AphelionWasTaken merged 1 commit into
mainfrom
Refactor
May 1, 2026
Merged

AphelionWasTaken merged 1 commit into
mainfrom
Refactor

Conversation

@AphelionWasTaken

Copy link
Copy Markdown
Owner

Cleanup

  • Do not recreate semaphore for each download
  • Reduce UI spam during downloads
  • Remove redundant request_update calls
  • Create widgets on the main thread
  • Check files and hashes on the main thread
  • Round the chunk size when updating the UI instead of when downloading
  • Move is_shit_there() into the App class where it belongs
  • Destroy widgets gracefully when searching while downloading, hashing, and pausing
  • Limit simultaneous downloads to 12 (I'm open to changing this)

Speedup

  • Use session objects everywhere and remove requests.
  • Make games.yml search concurrent instead of sequential
  • Fetch firmware locales concurrently instead of sequentially

@AphelionWasTaken
AphelionWasTaken merged commit 4ea0014 into main May 1, 2026
@AphelionWasTaken
AphelionWasTaken deleted the Refactor branch May 1, 2026 09:49
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.

1 participant