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

Implement token-scoped cache keys #289

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Implement token-scoped cache keys #289

wants to merge 1 commit into from

Conversation

Nihlus
Copy link
Member

@Nihlus Nihlus commented Mar 19, 2023

This PR implements simple scoping for the cache library in order to keep data belonging to different tokens separate.

In its current state, it is not a complete implementation since tokens provided via customizations onto single REST requests will not be picked up, and that mechanism may need some more in-depth changes. Consider this a design suggestion out for comments.

Fixes #257.

@Nihlus Nihlus added the waiting for review The PR is awaiting review by maintainers label Oct 3, 2024
Copy link
Contributor

@VelvetToroyashi VelvetToroyashi left a comment

Choose a reason for hiding this comment

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

Needs to be updated for 'recent' Remora changes to caching, but looks good
Also unsure how this has gone without review up to this point

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for review The PR is awaiting review by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Different tokens share the cache
2 participants