Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

UpdateManager: handle metered network#2344

Open
danirabbit wants to merge 2 commits intomainfrom
danirabbit/updatemanager-meterednetwork
Open

UpdateManager: handle metered network#2344
danirabbit wants to merge 2 commits intomainfrom
danirabbit/updatemanager-meterednetwork

Conversation

Copy link
Member

danirabbit commented Sep 3, 2025

Fixes #417

If we're on a metered network, don't refresh automatically

danirabbit requested a review from leolost2605 September 3, 2025 19:16
leolost2605 requested changes Sep 9, 2025
Copy link
Member

leolost2605 left a comment

Choose a reason for hiding this comment

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

Can we maybe introduce something like a do_automatic_refresh method that does this check (and maybe in the future other ones) instead of doing the check manually three times?
Also this would have the benefit that a scenario like
No wifi -> connect hot spot -> it isn't marked as metered yet -> mark as metered (assuming this is done within 60 seconds)
would correctly be covered

danirabbit reacted with thumbs up emoji
danirabbit added this to OS 9 Sep 9, 2025
danirabbit moved this to In progress in OS 9 Sep 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

leolost2605 leolost2605 requested changes

Requested changes must be addressed to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

Status: In progress

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Manually check for updates on metered networks

2 participants