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 cache eviction on init and add a method to allow consumers to clear the cache #37

Merged
merged 2 commits into from
Dec 4, 2023

Conversation

gazreese
Copy link
Collaborator

@gazreese gazreese commented Dec 1, 2023

Description

I've removed the cache eviction that was highlighted in #36, added a method to clear the cache and also checked it with some unit tests.

You could argue that this changes the behaviour slightly, though in the majority of cases this would be minimal and would improve performance for those not using the real-time functionality.

Type of Change

Add more control to the SDK for the consumer

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

@matthewelwell matthewelwell merged commit 2bb34a7 into main Dec 4, 2023
1 check passed
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.

2 participants