Skip to content

Make Wi-Fi changes fast and fix the false adopt failure#58

Merged
d4rken merged 1 commit into
devfrom
fix/wifi-fast-reload
Jun 3, 2026
Merged

Make Wi-Fi changes fast and fix the false adopt failure#58
d4rken merged 1 commit into
devfrom
fix/wifi-fast-reload

Conversation

@d4rken
Copy link
Copy Markdown
Member

@d4rken d4rken commented Jun 3, 2026

Adding, editing, removing, or adopting a Wi-Fi network could take many seconds on a feeder — and adopting one could take long enough that the page reported "adopt failed" even though it had actually worked.

Each change was reloading every saved network, which is slow on this hardware; this loads only the network that changed instead. Wi-Fi changes now finish in well under a second (a couple of seconds for adopt), and the false failure is gone.

On the feeder `nmcli connection reload` takes ~11-15s (NetworkManager's
netplan integration regenerates everything), so every Wi-Fi change was
slow and adopt (~32s) outran the reverse-proxy timeout into a false
"adopt failed". Loading just the changed keyfile is ~100ms.
@d4rken d4rken added the bug Something isn't working label Jun 3, 2026
@d4rken d4rken marked this pull request as ready for review June 3, 2026 10:37
@d4rken d4rken merged commit 612fe0d into dev Jun 3, 2026
7 checks passed
@d4rken d4rken deleted the fix/wifi-fast-reload branch June 3, 2026 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant