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

Add slight debounce to redrawing chart #869

Merged
merged 1 commit into from
Oct 5, 2023
Merged

Conversation

cavis
Copy link
Member

@cavis cavis commented Oct 3, 2023

Fixes #855.

Turns out, I just needed to debounce calling chart.redraw(). Didn't bother to add any caching - Castle is returning these 40+ results real quick (IIRC, Castle has its own caching layer).

@cavis cavis self-assigned this Oct 3, 2023
@brandonhundt brandonhundt self-requested a review October 5, 2023 20:38
Copy link
Contributor

@brandonhundt brandonhundt left a comment

Choose a reason for hiding this comment

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

Pretty snappy. Thanks!

@cavis cavis merged commit a1434d1 into main Oct 5, 2023
1 check passed
@cavis cavis deleted the fix/debounce_castle_metrics branch October 5, 2023 20:42
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.

Cache podcast downloads chart
2 participants