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

Scan cache #1160

Merged
merged 2 commits into from
Apr 10, 2024
Merged

Scan cache #1160

merged 2 commits into from
Apr 10, 2024

Conversation

aanon4
Copy link
Contributor

@aanon4 aanon4 commented Apr 10, 2024

Cache the last wifi scan and update it when a re-scan is requested. This change was suggested as a way of handling Ubiquiti AC devices which disconnect while scanning and making retrieving the results problematic if that was your connection. Now we scan and store the results so they can be retrieved later. In fact we no longer scan when navigating to this page show the last scan and a time stamp. To update the scan push the rescan button. This make the page generally more responsive when initially navigated to.

This change was suggested as a way of handling Ubiquiti AC devices
which disconnect while scanning and making retrieving the results
problematic if that was your connection. Now we scan and store the
results so they can be retrieved later. In fact we no longer scan when
navigating to this page but require an explicity scan button push.
This make the page generally more responsive when initially navigated
to.
@mathisono
Copy link

mathisono commented Apr 10, 2024 via email

@aanon4
Copy link
Contributor Author

aanon4 commented Apr 10, 2024

@mathisono Can you explain more? This change doesnt effect how the scan actually works.

@aanon4 aanon4 merged commit 8627104 into aredn:main Apr 10, 2024
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.

None yet

2 participants