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

chore(sdk): Use StreamrClient cache config in GapFiller #2877

Merged
merged 4 commits into from
Nov 14, 2024

Conversation

teogeb
Copy link
Contributor

@teogeb teogeb commented Nov 13, 2024

Summary

GapFiller's storage node cache use StreamrClient's cache config option.

Background

There is only one cache configuration option in client. Most of the caches should use the maxSize/maxAge options configured at client level. In some specific cases it could make sense to use hardcoded maxSize/maxAge values instead. Before this PR storage node cache used 30 min cache, but there was a TODO comment which stated "TODO maybe caching should be configurable".

@github-actions github-actions bot added the sdk label Nov 13, 2024
Copy link
Contributor

@harbu harbu left a comment

Choose a reason for hiding this comment

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

For changelog I would put it under Changed

@github-actions github-actions bot added the docs label Nov 14, 2024
@teogeb teogeb merged commit 65a8f1c into main Nov 14, 2024
7 checks passed
@teogeb teogeb deleted the sdk-gapfiller-storagenode-cache-config branch November 14, 2024 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants