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

Improvement to Device listing refresh behavior #1503

Open
lawik opened this issue Sep 10, 2024 · 0 comments
Open

Improvement to Device listing refresh behavior #1503

lawik opened this issue Sep 10, 2024 · 0 comments

Comments

@lawik
Copy link
Contributor

lawik commented Sep 10, 2024

We could switch the polling to use messages only. Product wide messages when a device is hit by:

  • create
  • update
  • delete

Because updates can be frequent we probably want to debounce that or set a max rate of refresh to avoid silly heavy refreshing.

We probably still want a really infrequent poll just to catch any weird corner cases we don't think of right now where related data changes that could affect the filtered query.

Bonus: Disable updates in LiveViews that are in background tabs?

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

No branches or pull requests

1 participant