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

fix: DH-18798 - token cache growing unbounded (#2374) #2376

Merged
merged 1 commit into from
Feb 27, 2025

Conversation

mattrunyon
Copy link
Collaborator

Cherry picking back.

This adds a cache for the token cache. I tested this was actually causing the issue by adding some code to the cell renderer to prefill the cache to 1 million items. It hung around 200k without the max. With max it prefills just fine (cleaning out every 10k) and doesn't hinder performance.

This adds a cache for the token cache. I tested this was actually
causing the issue by adding some code to the cell renderer to prefill
the cache to 1 million items. It hung around 200k without the max. With
max it prefills just fine (cleaning out every 10k) and doesn't hinder
performance.
@mattrunyon mattrunyon self-assigned this Feb 27, 2025
Copy link

codecov bot commented Feb 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 46.70%. Comparing base (fd17510) to head (ae24303).
Report is 1 commits behind head on release/v0.85.

Additional details and impacted files
@@              Coverage Diff               @@
##           release/v0.85    #2376   +/-   ##
==============================================
  Coverage          46.70%   46.70%           
==============================================
  Files                695      695           
  Lines              38814    38814           
  Branches            9852     9852           
==============================================
  Hits               18130    18130           
  Misses             20674    20674           
  Partials              10       10           
Flag Coverage Δ
unit 46.70% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mattrunyon mattrunyon merged commit 9d85d73 into deephaven:release/v0.85 Feb 27, 2025
11 checks passed
@mattrunyon mattrunyon deleted the dh-18798_grizzly branch February 27, 2025 17:54
@github-actions github-actions bot locked and limited conversation to collaborators Feb 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants