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

Improve async compatibility of app store #177

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jun 26, 2024

  1. Improve async compatibility of app store

    This moves some code from the background task to the main task, and refactors it to allow use of async methods. This looks like these tasks were in background from the idea that the background task runs 'in the background', rather than runs 'when the app is in the background'.
    
    There are two calls that use requests.get, which block the update task. By refactoring slightly to use async, we can use async_helpers.unblock to move them to a thread.
    MatthewWilkes committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    8df3d90 View commit details
    Browse the repository at this point in the history