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

docs: Make Pluto polling faster #73

Merged
merged 1 commit into from
Aug 28, 2024
Merged

docs: Make Pluto polling faster #73

merged 1 commit into from
Aug 28, 2024

Conversation

fonsp
Copy link
Member

@fonsp fonsp commented Aug 27, 2024

By putting everything inside the @use_task (without triggering a re-run with @use_state), the polling consumes almost no resources, so you can make the polling interval much faster.

@fonsp fonsp requested a review from filchristou August 27, 2024 13:44
Copy link
Collaborator

@filchristou filchristou left a comment

Choose a reason for hiding this comment

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

Thanks! Works much better :)

@filchristou filchristou merged commit c402d78 into main Aug 28, 2024
5 checks passed
@filchristou filchristou deleted the howtoplutofaster branch August 28, 2024 20:45
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.

2 participants