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: update LRUcache to not keep thread #6013

Merged
merged 1 commit into from
Oct 31, 2024
Merged

fix: update LRUcache to not keep thread #6013

merged 1 commit into from
Oct 31, 2024

Conversation

filvecchiato
Copy link
Contributor

removes the use of intervals to evict the cache and instead evicts on read/write operations. This should stop blocking the thread

Copy link
Member

@TarikGul TarikGul left a comment

Choose a reason for hiding this comment

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

Thank you :)

fixes: #6010

@TarikGul TarikGul merged commit abce780 into master Oct 31, 2024
4 checks passed
@TarikGul TarikGul deleted the filippo_fix_lru branch October 31, 2024 12:59
@polkadot-js-bot
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@polkadot-js polkadot-js locked as resolved and limited conversation to collaborators Nov 2, 2024
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.

LRU cache is not releasing thread on api.disconnect() if you've written to the chain.
3 participants