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

Remove ttl-cache dependency #3207

Merged
merged 2 commits into from
Jan 6, 2025
Merged

Remove ttl-cache dependency #3207

merged 2 commits into from
Jan 6, 2025

Conversation

MartinquaXD
Copy link
Contributor

Description

We currently have 2 dependencies for size and time based caching strategies.
Given that we only have 1 usage of ttl-cache I replaced it with cached to reduce the total number of dependencies.

One minor downside is that this now requires to take one more write lock but since there shouldn't be significant contention on the lock to begin with that should be okay.

@MartinquaXD MartinquaXD requested a review from a team as a code owner January 4, 2025 11:17
@MartinquaXD MartinquaXD changed the title Remove ttl-cache dependency Remove ttl-cache dependency Jan 4, 2025
@MartinquaXD MartinquaXD enabled auto-merge (squash) January 6, 2025 10:25
@MartinquaXD MartinquaXD merged commit 0db8f43 into main Jan 6, 2025
11 checks passed
@MartinquaXD MartinquaXD deleted the remove-ttl-cache-dependency branch January 6, 2025 10:31
@github-actions github-actions bot locked and limited conversation to collaborators Jan 6, 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